public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Ebel <ingo.ebel@ingoebel.de>
To: <linux-btrfs@vger.kernel.org>
Subject: RAID 1 with no data on it when accidentally switched HDD
Date: Sun, 12 Jan 2014 20:35:21 +0100	[thread overview]
Message-ID: <7e169377e2a149281902ebbce55a9f7e@www.jitmail.de> (raw)

Hi,

I'm not sure whether it's a bug in btrfs or my distro but I discovered 
an odd behavior today.

My Setup:

* Btrfs v3.12+20131125
* /dev/sda – Boot OS - opensuse 13.1
* Btrfs RAID 1 on /dev/sdb1 and /dev/sdc1

I added an extra HDD with an other OS and Data on it witch accidentally 
became /dev/sdc.

Btrfs got mounted at boot time without any complains but in the main 
volume was empty.
Some subvolumes still had Data.

I took the extra HDD out but still no data in the Btrfs main volume. 
Bfrfsck reported no error.
Some Parts on the (accidentally) /dev/sdc are now corrupt.

I would expect that btrfs would throw an error when getting in the kind 
of scenario.

Regards

Ingo

             reply	other threads:[~2014-01-12 19:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-12 19:35 Ingo Ebel [this message]
2014-01-12 20:54 ` RAID 1 with no data on it when accidentally switched HDD Chris Murphy
  -- strict thread matches above, loose matches on Subject: below --
2014-01-12 21:40 Ingo Ebel
2014-01-12 21:50 ` Chris Murphy
2014-01-13  8:18   ` Duncan
2014-01-13 16:46     ` Chris Murphy
2014-01-14  9:10       ` Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7e169377e2a149281902ebbce55a9f7e@www.jitmail.de \
    --to=ingo.ebel@ingoebel.de \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox