]> sourceware.org Git - lvm2.git/blob - man/vgimportclone.8.in
update reworded string
[lvm2.git] / man / vgimportclone.8.in
1 .TH VGIMPORTCLONE 8 "LVM TOOLS #VERSION#" "Red Hat, Inc." \" -*- nroff -*-
2 .SH NAME
3 vgimportclone \- import and rename duplicated volume group (e.g. a hardware snapshot)
4 .SH SYNOPSIS
5 .B vgimportclone
6 [\-n|\-\-basevgname VolumeGroupName]
7 [\-i|\-\-import]
8 PhysicalVolume [PhysicalVolume...]
9 .SH DESCRIPTION
10 .B vgimportclone
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).
14 .B vgimportclone
15 renames the VG associated with the specified PV(s) and changes the
16 associated VG and PV UUIDs.
17 .SH OPTIONS
18 See \fBlvm\fP for common options.
19 .TP
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.
26 .TP
27 .I \-i|\-\-import
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
31 .TP
32 \fBLVM_BINARY\fP
33 The LVM2 binary to use.
34 Defaults to "lvm".
35 .SH EXAMPLES
36 The origin VG
37 .B vg00
38 has origin PVs
39 .BR /dev/sda " and " /dev/sdb
40 and the respective snapshot PVs are
41 .BR /dev/sdc " and " /dev/sdd "."
42 To rename the VG
43 associated with
44 .BR /dev/sdc " and " /dev/sdd
45 from
46 .B vg00
47 to
48 .B vg00_snap
49 (and to change associated VG and PV UUIDs) do:
50 .nf
51
52 \ vgimportclone --basevgname vg00_snap /dev/sdc /dev/sdd
53
54 .fi
55 .SH SEE ALSO
56 .BR lvm (8)
57
This page took 0.034508 seconds and 5 git commands to generate.