Re: raid 10 drive replacement on old raid6 btrfs volume

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

 



On Nov 18, 2014, at 11:22 AM, Craig Yoshioka <craigyk@xxxxxxxxx> wrote:

> I started experimenting with an 8 drive BTRFS RAID6, but rebalanced it a while ago as RAID10.  Recently though I’ve run into problems when trying to replace a drive.
> 
>> Nov 18 10:18:44 ganymede kernel: BTRFS warning (device sdk): dev_replace cannot yet handle RAID5/RAID6
> 
> Even though df shows RAID10:
> 
>> Data, RAID10: total=4.65TiB, used=4.62TiB
>> System, RAID10: total=64.00MiB, used=432.00KiB
>> Metadata, RAID10: total=34.00GiB, used=31.36GiB
>> GlobalReserve, single: total=512.00MiB, used=0.00B
> 
> Am I out of luck and need to copy everything off and start over?

Interesting, seems like a bug.

Anyway you should be able to do one of two things: ‘btrfs device add’ to add new device, and ‘btrfs device delete’ the old device; OR
you can physically remove the old device, connect the new device, and then ‘btrfs device add’ new, and ‘btrfs device delete missing’ since you won’t be able to designate the disconnected old device.

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