All of lore.kernel.org
 help / color / mirror / Atom feed
* RAID1 migrate to bigger disks
@ 2015-01-24 14:32 Daniel Pocock
  2015-01-24 14:36 ` Hugo Mills
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Pocock @ 2015-01-24 14:32 UTC (permalink / raw)
  To: linux-btrfs




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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-25  5:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-24 14:32 RAID1 migrate to bigger disks Daniel Pocock
2015-01-24 14:36 ` Hugo Mills
2015-01-24 14:46   ` Daniel Pocock
2015-01-24 15:47     ` Martin Steigerwald
2015-01-25  5:07     ` Paul Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.