[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug#149876: lvm10: lvcreate created an LV with the same dev.# as an existing LV]



Can I use this as justification to get LVM 1:1.0.4 into woody ? 

:)

patrick

--- Begin Message ---
Package: lvm10
Version: 1.1rc1-2
Severity: critical
Justification: breaks the whole system

I created a new LV with `lvcreate -L 370m -n carbon NoRaid'.  I then
used mkreiserfs to create the partition, and mounted it.  Then I started
populating the filesystem.

The next thing I know the system is slowing to a halt and I'm getting
loads of reiserfs errors.  Within 5 minutes it's kernel panic, game
over.

When the machine came back up, I noticed that two LVM paritions had the
same block device (and all of my LVM paritions were completely shagged, 
but we'll ignore that for now):

linux10321:~# lvdisplay /dev/NoRaid/carbon
--- Logical volume ---
LV Name                /dev/NoRaid/carbon
VG Name                NoRaid
LV Write Access        read/write
LV Status              available
LV #                   5
# open                 0
LV Size                372 MB
Current LE             93
Allocated LE           93
Allocation             next free
Read ahead sectors     120
Block device           58:5


linux10321:~# lvdisplay /dev/Mirror/argon 
--- Logical volume ---
LV Name                /dev/Mirror/argon
VG Name                Mirror
LV Write Access        read/write
LV Status              available
LV #                   3
# open                 0
LV Size                372 MB
Current LE             93
Allocated LE           93
Allocation             next free
Read ahead sectors     120
Block device           58:5


linux10321:~# 

If I lvremove and then re-add the partition, the same thing happens.

And now I've added another LV, but I got this error creating it:

linux10321:/vservers# lvcreate -L 370m -n carbon2 NoRaid
lvcreate -- rounding size up to physical extent boundary
lvcreate -- ERROR "Operation not permitted" opening logical volume
"/dev/NoRaid/carbon2"

And I can't remove it:

linux10321:/vservers# lvremove /dev/NoRaid/carbon2
lvremove -- do you really want to remove "/dev/NoRaid/carbon2"? [y/n]: y
lvremove -- ERROR "lv_release(): LV number" releasing logical volume
"/dev/NoRaid/carbon2"

But apparently it's OK, because it doesn't really exist:

linux10321:/vservers# lvdisplay -v /dev/NoRaid/carbon2  
lvdisplay -- logical volume "/dev/NoRaid/carbon2" doesn't exist


Would you like me to send you my /etc/lvmconf/NoRaid.conf ?

Or would I be better off trying EVMS?

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux linux10321 2.4.18-ac3-ctx10e2resize #1 SMP Mon Jun 10 16:43:04 UTC 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages lvm10 depends on:
ii  file                          3.37-3.1   Determines file type using "magic"
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an
ii  lvm-common                    1.5.5      The Logical Volume Manager for Lin



--- End Message ---

Reply to: