Skip to contentSkip to conversation

Error with 2.5.50-dm-2; vanilla OK

linux-lvm Richard Chan 2 participants 2 messages Dec 9, 2002

lore
Share & tools
lore
#0 lore raw

Hi, I'm getting an error with 2.5.50-dm2 but vanilla 2.5.50 is OK.

When I try lvm vgchange -ay I get the error messages

Dec  9 21:49:54 dyndns12 kernel: device-mapper: allocating minor 0.
Dec  9 21:49:54 dyndns12 kernel: device-mapper: device /dev/hdb7 too small for target
Dec  9 21:49:54 dyndns12 kernel: device-mapper: internal error adding target to table
Dec  9 21:49:54 dyndns12 kernel: device-mapper: destroying table

3 of 4 LVs in the VG are OK

If I use vanilla 2.5.50 the LVs are created OK

Dec  9 21:49:54 dyndns12 kernel: device-mapper: allocating minor 0.
Dec  9 21:49:54 dyndns12 kernel: device-mapper: allocating minor 1.
Dec  9 21:49:54 dyndns12 kernel: device-mapper: allocating minor 2.
Dec  9 21:49:54 dyndns12 kernel: device-mapper: allocating minor 3.

lvm version
LVM version: 1.95.11-cvs (2002-11-18)
Library version: 0.96.07-ioctl-cvs (2002-11-21)
Driver version: 1.0.6

lvm vgdisplay vg00
--- Volume group ---

 VG Name               vg00
 System ID             caesar1000557946
 Format                lvm1
 VG Access             read/write
 VG Status             resizable
 MAX LV                255
 Cur LV                4
 Open LV               2
 Max PV                255
 Cur PV                2
 Act PV                2
 VG Size               39.89GB
 PE Size               4.00MB
 Total PE              10212
 Alloc PE / Size       9920 / 38.75GB
 Free  PE / Size       292 / 1.14GB
 VG UUID               SsC7qF-Jb43-vh72-TctL-wlpU-iPvx-1Hr3hS

This is the LV that causes grief:

lvm lvdisplay vg00
--- Logical volume ---

 LV Name                /dev/vg00/LVmisc
 VG Name                vg00
 LV UUID                000000-0000-0000-0000-0000-0000-000001
 LV Write Access        read/write
 LV Status              available
 # open                 1
 LV Size                20.00GB
 Current LE             5120
 Segments               2
 Allocation             next free
 Read ahead sectors     120
 Block device           254:1
#1 lore raw
Quoted 4 lines · Richard Chan

Hi, I'm getting an error with 2.5.50-dm2 but vanilla 2.5.50 is OK.

When I try lvm vgchange -ay I get the error messages

Quoted 8 lines
Dec  9 21:49:54 dyndns12 kernel: device-mapper: allocating minor 0.
Dec  9 21:49:54 dyndns12 kernel: device-mapper: device /dev/hdb7 too 
small for target
Dec  9 21:49:54 dyndns12 kernel: device-mapper: internal error adding 
target to table
Dec  9 21:49:54 dyndns12 kernel: device-mapper: destroying table

3 of 4 LVs in the VG are OK

Weird, the patch that is causing you the problem will be:

http://people.sistina.com/~thornber/patches/2.5-stable/2.5.50/2.5.50-dm-2/00005.patch

Though it still looks sane to me. Can you send me the lvm2 log from this vgchange along with the size in sectors of hdb7 please ?

- Joe