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

Re: [Linux-cluster] mounting a replicated lun



On 11/21/2013 04:56 PM, emmanuel segura wrote:
> vgcfgbackup -f /tmp/mylvm.bck c
> change the volume group id: esample
> id = "JGWiR6-J5mh-VnQr-168J-uzj6-RjcD-FtmKQo"
> pvcreate --restorefile /tmp/mylvm.bck --uuid
> "laHRdG-3NPX-MGMj-TQtV-FkV5-Yp3M-gSJaj7" /dev/mapper/mapth5
> vgrename JGWiR6-J5mh-VnQr-168J-uzj6-RjcD-FtmKQo new_vg

It's much better to use the vgimportclone command to do this - it
automates renaming and changing the UUID in a single step.

For one thing the above will fail in the current example due to
duplicate PVs being present.

Regards,
Bryn.


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