On Mon, 2023-10-02 at 19:37 -0400, Phillip Susi wrote: > > "Brian J. Murrell" <brian@xxxxxxxxxxxxxxx> writes: > > > Just to take advantage of MD's online/background sync to get the > > data > > from md0 array to the md1 array. > > If you weren't using LVM, then that would be a good idea, but LVM can > do > that too. So just to confirm, given: sdc 8:32 0 3.7T 0 disk └─md0 9:0 0 3.7T 0 raid1 ├─backups-backups 253:13 0 2.5T 0 lvm /.snapshots ├─backups-borg 253:14 0 300G 0 lvm └─backups-vdo--test 253:15 0 700G 0 lvm └─vdo-backups 253:73 0 1.8T 0 vdo sdd 8:48 0 3.7T 0 disk └─md1 9:1 0 3.7T 0 raid1 └─luks-backup 253:40 0 3.7T 0 crypt I want to do: # pvcreate /dev/mapper/luks-backup # vgextend backups /dev/mapper/luks-backup # pvmove /dev/md0 /dev/luks-backup # vgreduce backups /dev/md0 # mdadm --stop /dev/md0 # mdadm --zero-superblocks /dev/sdc # mdadm /dev/md1 --add /dev/sdc Correct? Cheers, b.
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/