Bug#254630: LVM names
On Fri, Jun 18, 2004 at 08:29:29PM +0100, Martin Michlmayr wrote:
> > > If you type disallowed characters in a logical volume name when
> > > configuring LVM, the installer doesn't notice and you get an
> > > unhelpful error message when it tries to run lvcreate. I think the
> > > dodgy character was '/'.
>
> If someone tells me which names are allowed and which aren't, I can
> add some checks. Patrick/dilinger, can you help? It seems different
> things are allowed for VGs vs LVs?
The name rules look to be the largely the same for VGs and LVs:
Allowable characters are: alphanumerics and . _ - +
The name must not start with a hyphen and LV names must not start "snapshot".
Tha maximum name length is 128 characters.
This is for LVM2, I think it's similar for LVM1 but I'll check if you need to
know specifically.
--
patrick
Reply to: