--- lvm.8~ 2008-03-19 14:45:09.000000000 -0700 +++ lvm.8 2008-03-20 07:07:16.000000000 -0700 @@ -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 volume group\fB(vg)\fPand logical volume\fB(lv)\fP 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