Skip to contentSkip to conversation

Hello. About a bug in lvm2

linux-lvm Sebastian Hyrwall 3 participants 3 messages Sep 21, 2004

lore
Share & tools
lore
#0 lore raw

Hey.

Im not sure but i may have found a bug in the lvm2 userspace-tools. Im using gentoo right now and right now lvm2 cant "see" some harddrives.

I first discovered the problem when i changed from 2.4 -> 2.6. In 2.6 it didnt find all my discs. Later on i saw that when i did "pvcreate /dev/hdd1" (tried the devfs-link also /dev/ide/....) it reported that the device couldnt be found. There isnt anything wrong with the hd or anything. It shows up in cfdisk/fdisk and i can use it as a normal hd (not in an lvm).

This occurs for 2 of my disks. hde and hdd. I cant find any difference between them and the other drives. They are all the same size.

Unfortunently i cant provide any more information because i didnt think about mailing this to you until after i went back to 2.4.

Sincerely, Sebastian Hyrwall

#1 lore raw

Le 21.09.2004 17:46:55, Sebastian Hyrwall a écrit :

Quoted 5 lines

Hey.

Im not sure but i may have found a bug in the lvm2 userspace-tools. Im using gentoo right now and right now lvm2 cant "see" some harddrives.

Quoted 8 lines

I first discovered the problem when i changed from 2.4 -> 2.6. In 2.6 it didnt find all my discs. Later on i saw that when i did "pvcreate /dev/hdd1" (tried the devfs-link also /dev/ide/....) it reported that the device couldnt be found. There isnt anything wrong with the hd or anything. It shows up in cfdisk/fdisk and i can use it as a normal hd (not in an lvm).

This occurs for 2 of my disks. hde and hdd. I cant find any difference between them and the other drives. They are all the same size.

Unfortunently i cant provide any more information because i didnt think about mailing this to you until after i went back to 2.4.

Do you have configured properly your kernel for lvm support? Do you have lvm2 package(s)?
Did you setup properly your /etc/lvm/lvm.conf?

Regard

Jean-Luc

Quoted 3 lines

Sincerely, Sebastian Hyrwall

#2 lore raw
In reply to Sebastian Hyrwall
Quoted 3 lines · Sebastian Hyrwall

Im not sure but i may have found a bug in the lvm2 userspace-tools. Im using gentoo right now and right now
lvm2 cant "see" some harddrives.

Run vgscan -vvv, grep for lines mentioning the 'missing' devices, and see what reasons it gives for ignoring them.

Alasdair

Signature · 1 line
[email protected]