1 .TH VGIMPORTCLONE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc." \" -*- nroff -*-
3 vgimportclone \- import and rename duplicated volume group (e.g. a hardware snapshot)
6 [\-n|\-\-basevgname VolumeGroupName]
8 PhysicalVolume [PhysicalVolume...]
11 is used to import a duplicated VG (e.g. hardware snapshot). Duplicate VG(s)
12 and PV(s) are not able to be used until they are made to coexist with
13 the origin VG(s) and PV(s).
15 renames the VG associated with the specified PV(s) and changes the
16 associated VG and PV UUIDs.
18 See \fBlvm\fP for common options.
20 .I \-n|\-\-basevgname VolumeGroupName
21 By default the snapshot VG will be renamed to the original name plus a
22 numeric suffix to avoid duplicate naming (e.g. 'test_vg' would be renamed
23 to 'test_vg1'). This option will override the base VG name that is
24 used for all VG renames. If a VG already exists with the specified name
25 a numeric suffix will be added (like the previous example) to make it unique.
28 Import exported Volume Groups. Otherwise VGs that have been exported
29 will not be changed (nor will their associated PVs).
30 .SH ENVIRONMENT VARIABLES
33 The LVM2 binary to use.
39 .BR /dev/loop0 " and " /dev/loop1
41 .BR /dev/loop2 " and " /dev/loop3
42 are respective snapshot PVs of the origin PVs.
45 .BR /dev/loop2 " and " /dev/loop3
50 (and change associated VG and PV UUIDs):
53 \ vgimportclone --basevgname test_vg_snap /dev/loop2 /dev/loop3