Re: Is MD array (containing a PV) reducible?

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

 



"Brian J. Murrell" <brian@xxxxxxxxxxxxxxx> writes:

> 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?

Yep.

_______________________________________________
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/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux