1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Add LV and VG name restrictions to the lvm man page.

Original patch by: Gerrard Geldenhuis <Gerrard.Geldenhuis@datacash.com>
This commit is contained in:
Dave Wysochanski 2008-03-20 18:34:29 +00:00
parent 7284f3f966
commit ec977d4c4f

View File

@ -257,6 +257,16 @@ is invoked.
The volume group name that is assumed for
any reference to a logical volume that doesn't specify a path.
Not set by default.
.SH VALID NAMES
The following characters are valid for VG and LV names:
\fBa-z A-Z 0-9 + _ . -\fP
.LP
VG and LV names cannot begin with a hyphen.
There are also various reserved names that are used internally by lvm that can not be used as LV or VG names.
A VG cannot be called anything that exists in /dev/ at the time of creation, nor can it be called '.' or '..'.
A LV cannot be called '.' '..' 'snapshot' or 'pvmove'. The LV name may also not contain the strings '_mlog' or '_mimage'
.SH DIAGNOSTICS
All tools return a status code of zero on success or non-zero on failure.
.SH FILES