Hello. Sorry if it's already fixed, but with 2.6.35.6-48.fc14.x86_64, when I do btrfs device delete /dev/blabla /btrfs kernel moves everything except 1 gigabyte off the device, but then fails to remove it, saying "btrfs: unable to remove the only writeable device" to dmesg. What's even more interesting, it does that with all 3 of my devices, and I clearly have enough free space to eject one drive. What am I doing wrong? Thanks. P.S. For reference - what seems to be the same bug but from september. On Thu, Sep 9, 2010 at 2:04 AM, Roy Keene <btrfs@xxxxxxxxxx> wrote: > All, > > I am using BtrFS at home for testing on my /home filesystem. I > started out with one disk (mkfs.btrfs /dev/sdb1) and then added another disk > (btrfs device add /dev/sda2 /home; btrfs filesystem balance /home). > > I then wanted to remove my second disk, but was unable to do so, I got: > btrfs: unable to go below two devices on raid1 > > I was told by the members of the BtrFS IRC channel that this was because my > metadata was RAID1'd. > > To resolve this situation, I added an 8GB flash drive (my metadata was > 5.99GB) and attempted to remove the drive again. It ran for a while (a long > while) and eventually returned me to the prompt. It did not remove the disk > -- so I ran it again... and again... and again... > > I am to the point where "btrfs device delete <blah> /home" returns > instantly, but has no effect. The following is written to my kernel message > buffer whenever I try to remove ANY device from /home: > btrfs: unable to remove the only writeable device > > More information can be found in the attachement. > > I am still on my quest to remove a device from my BtrFS pool. Does anyone > have any advice ? > > Thanks, > Roy Keene -- This message represents the official view of the voices in my head -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
