[linux-lvm] RE: linux-lvm Digest, Vol 32, Issue 7
Alasdair G Kergon
agk at redhat.com
Thu Oct 12 14:13:15 UTC 2006
On Thu, Oct 12, 2006 at 03:42:42PM +0200, Phil Lowden (plowden) wrote:
> 1. Do the array-based copy.
> 2. Reinitialze the new PV(s).
> 3. Edit a copy of the original LVM backup configuration file with
> the UUID of the new PV(s), the new VG name, and a new VG UUID.
> 4. Restore the edited configuration file to the new PV(s).
> 5. Activate the new VG and use it.
There are tools to help you do that without having to edit/restore
a metadata backup file:
filters to tell lvm2 to only use the disks in the VG you're changing
(easiest to use with --config now)
--uuid options to pvchange and vgchange
vgrename <old_vg_uuid> <new_name>
Alasdair
--
agk at redhat.com
More information about the linux-lvm
mailing list