summaryrefslogtreecommitdiff
path: root/man/vgimportclone.8.end
blob: f914553d9239745431ed00c3083efb78d3f62537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.SH NOTES

.IP \[bu] 3
vgimportclone can be used to import a VG from duplicated PVs (e.g. created
by a hardware snapshot of the PV devices).

.IP \[bu] 3
A duplicated VG cannot used until it is made to coexist with the original
VG.  vgimportclone renames the VG associated with the specified PVs and
changes the associated VG and PV UUIDs.

.SH EXAMPLES

An original VG "vg00" has PVs "/dev/sda" and "/dev/sdb".
The corresponding PVs from a hardware snapshot are "/dev/sdc" and "/dev/sdd".
Rename the VG associated with "/dev/sdc" and "/dev/sdd" from "vg00" to "vg00_snap"
(and change associated UUIDs).
.br
.B vgimportclone \-\-basevgname vg00_snap /dev/sdc /dev/sdd