[Evms-devel] Re: [linux-lvm] [BUG] Spaces in LVM1 LV names => *deep trouble* when converting to LVM2

Kevin Corry kevcorry at us.ibm.com
Wed May 10 21:20:28 UTC 2006


On Wed May 10 2006 3:36 pm, Alasdair G Kergon wrote:
> On Wed, May 10, 2006 at 10:26:14PM +0200, Dominique Quatravaux wrote:
> > Hi, I encountered a very serious bug with LVM today. I'm using
> > lvm2-2.01.04-5 from Debian stable, kernel 2.6.17-rc3
> > # lvm version
> >   LVM version:     2.01.04 (2005-02-09)
> >   Library version: 1.01.00-ioctl (2005-01-17)
> >   Driver version:  4.6.0
> > What I did:
> >     * created a LV in an LVM1 VG using EVMS (yeah, I know) with a
> >       space in the name (yeah, yeah, I know, I know :-));
>
> LVs are not permitted to have spaces in their names.
> EVMS should have prevented you from doing that!

Hmm...looks like the lvm2 format plugin in EVMS does check for spaces when 
creating a new VG or LV, but the lvm1 format plugin does not. I've added a 
patch to fix the lvm1 plugin. Sorry for the trouble. :(  I guess this case is 
sufficiently unusual that no one has hit before, or at least not mentioned it 
to me before.

-- 
Kevin Corry
kevcorry at us.ibm.com
http://www.ibm.com/linux/
http://evms.sourceforge.net/




More information about the linux-lvm mailing list