summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-12-02 10:37:25 -0600
committerDavid Teigland <teigland@redhat.com>2015-12-02 10:37:25 -0600
commit3bbf89e9ec92388cbfa722c0fbb6ff3fad0232aa (patch)
tree24ba29d4039f7a2df3947b9613d6cf0ab4edc460
parent61573bd1972702f1066c3df5543acc47e9e35da8 (diff)
downloadlvm2-3bbf89e9ec92388cbfa722c0fbb6ff3fad0232aa.tar.gz
man lvm: add section about unique VG names
-rw-r--r--man/lvm.8.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/man/lvm.8.in b/man/lvm.8.in
index 31f7187a4..4e9e1dd5e 100644
--- a/man/lvm.8.in
+++ b/man/lvm.8.in
@@ -502,6 +502,28 @@ amendment when the software is updated. Should you need to process the node
names in /dev/mapper, you may use \fBdmsetup splitname\fP to separate out the
original VG, LV and internal layer names.
.
+.SH UNIQUE NAMES
+.
+
+VG names should be unique. vgcreate will produce an error if the
+specified VG name matches an existing VG name. However, there are cases
+where different VGs with the same name can appear to LVM, e.g. after
+moving disks or changing filters.
+
+When VGs with the same name exist, commands operating on all VGs will
+include all of the VGs with the same name. If the ambiguous VG name is
+specified on the command line, the command will produce an error. The
+error states that multiple VGs exist with the specified name. To process
+one of the VGs specifically, the --select option should be used with the
+UUID of the intended VG: '--select vg_uuid=<uuid>'.
+
+An exception is if all but one of the VGs with the shared name is foreign
+(see
+.BR lvmsystemid (7).)
+In this case, the one VG that is not foreign is assumed to be the intended
+VG and is processed.
+
+.
.SH ALLOCATION
.
When an operation needs to allocate Physical Extents for one or more