[PVE-User] WG: Strange LVM problem

Vincendon Bruno vincendon at lma.cnrs-mrs.fr
Mon Apr 2 17:39:50 CEST 2012


Hi,
thank you all for the answers :
>
> We enable trim supprt:
>
> issue_discard = 1
>
> Maybe that cause the problem?
>
> - Dietmar

The problem is not solved with this modification (issue_discard = 0 )

 > I just modified the devices section in the lvm.conf of the initrd. I
 > suggest you check that /etc/lvm.conf is the same in both initrd's.

I did check the 2 initrd (2.6.32-5-amd64 and 2.6.32-10-pve) lvm.conf is the same 
in both...

So I checked the content of the 2 initrd and I saw that there are many 
differences between the 2 versions :

for examples the content of :
ls -al lib/modules/2.6.32-10-pve/kernel/drivers/md/
total 164
drwxr-xr-x  2 root root  4096  2 avril 15:17 .
drwxr-xr-x 18 root root  4096  2 avril 15:17 ..
-rw-r--r--  1 root root 24072  2 avril 15:17 dm-log.ko
-rw-r--r--  1 root root 33448  2 avril 15:17 dm-mirror.ko
-rw-r--r--  1 root root 26008  2 avril 15:17 dm-region-hash.ko
-rw-r--r--  1 root root 65104  2 avril 15:17 dm-snapshot.ko

ls -al lib/modules/2.6.32-5-amd64/kernel/drivers/md/
total 248
drwxr-xr-x  2 root root   4096  2 avril 15:21 .
drwxr-xr-x 28 root root   4096  2 avril 15:21 ..
-rw-r--r--  1 root root  18912  2 avril 15:21 dm-log.ko
-rw-r--r--  1 root root  28040  2 avril 15:21 dm-mirror.ko
-rw-r--r--  1 root root 120024  2 avril 15:21 dm-mod.ko
-rw-r--r--  1 root root  20632  2 avril 15:21 dm-region-hash.ko
-rw-r--r--  1 root root  42472  2 avril 15:21 dm-snapshot.ko


NO DM-MOD in 2.6.32-10-pve !

or the content of:

ls -al lib/modules/2.6.32-10-pve/modules.order

My guess is that I have a problem with the LSISAS1068E when the 2.6.32-10-pve 
kernel tries to access the LVM on VG pve that is seen in dmesg with 2.6.32-5-amd64 :
EXT3 FS on dm-0, internal journal
EXT3 FS on dm-2, internal journal

because the /boot partition which is on sda1 (not a PV) is accessed without 
problem but sda2 which contains the PV/VG cannot be accessed with 2.6.32-10-pve...

I hope to find a solution because we want use Proxmox 2 on that machine...

Thank you
Bruno







More information about the pve-user mailing list