Re: btrfs device delete problem

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

 



On Oct 7, 2013, at 9:44 AM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:

> 
> On Oct 7, 2013, at 4:38 AM, Duncan <1i5t5.duncan@xxxxxxx> wrote:
> 
>> Since your btrfs in raid1 mode has two devices currently, you won't be 
>> able to delete one of them as-is.  You will need to ADD a device first 
>> (bringing the total to three devices), optionally do a balance, and THEN 
>> delete the failed/missing/to-be-removed device (bringing the total back 
>> to two, which you never go below that way).
> 
> Oops that's right, I forgot about this, and I have read the wiki! The other way to do it is to just pull the device, preferably with the file system unmounted. And then use it in degraded mode. I don't know if it's possible to convert a degraded volume, however.

Jeez, do I write much? Disconnect the device you want removed from the volume. Mount the one you want to keep using with -o degraded.

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