I've got a RAID1 on two 1TB partitions, /dev/sda3 and /dev/sdb3
I'm adding two new disks, they will have bigger partitions /dev/sdc3 and
/dev/sdd3
I'd like the BtrFs to migrate from the old partitions to the new ones as
safely and quickly as possible and if it is reasonable to do so, keeping
it online throughout the migration.
Should I do the following:
btrfs device add /dev/sdc3 /dev/sdd3 /mnt/btrfs0
btrfs device delete /dev/sda3 /dev/sdb3 /mnt/btrfs0
or should I do it this way:
btrfs device add /dev/sdc3 /mnt/btrfs0
btrfs device delete /dev/sda3 /mnt/btrfs0
btrfs device add /dev/sdd3 /mnt/btrfs0
btrfs device delete /dev/sdb3 /mnt/btrfs0
or is there some other way to go about it?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html