Re: How to handle a RAID5 arrawy with a failing drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 16, 2014, at 5:12 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:

> 
> On Mar 16, 2014, at 4:55 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> 
>> Then use btrfs replace start.
> 
> Looks like in 3.14rc6 replace isn't yet supported. I get "dev_replace cannot yet handle RAID5/RAID6".
> 
> When I do:
> btrfs device add <new> <mp>
> 
> The command hangs, no kernel messages.

So even though the device add command hangs, another shell with btrfs fi show reports that it succeeded:

Label: none  uuid: d50b6c0f-518a-455f-9740-e29779649250
	Total devices 4 FS bytes used 5.70GiB
	devid    1 size 7.81GiB used 4.02GiB path /dev/sdb
	devid    2 size 7.81GiB used 3.01GiB path /dev/sdc
	devid    3 size 7.81GiB used 4.01GiB path 
	devid    4 size 7.81GiB used 0.00 path /dev/sdd

Yet umount <mp> says the target is busy. ps reports the command status D+. And it doesn't cancel. So at the moment I'm stuck coming up with a work around.


Chris Murphy--
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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux