Re: RAID 1 with no data on it when accidentally switched HDD

Chris Murphy
2014-01-12T20:54:33Z

On Jan 12, 2014, at 12:35 PM, Ingo Ebel <ingo.ebel@ingoebel.de> wrote:

> 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.

I don't understand the exact sequence. How does a 3rd drive appear as sdc when the 2nd drive is sdc and sdc1 is part of a Btrfs file system already? Did you reboot and the 3rd drive became sdc? This needs to be explained better, including the exact commands you used.

Chris Murphy