I just saw that in /etc/udev/rules.d/70-lvm.rules the device is tested
against ENV{ID_FS_TYPE}=="lvm*|LVM*" to trigger the vgchange/vgscan.

But
$ grep ID_FS_TYPE /var/log/udev
ID_FS_TYPE=ext3
ID_FS_TYPE=vfat
ID_FS_TYPE=swap
ID_FS_TYPE=ntfs
ID_FS_TYPE=ext3
ID_FS_TYPE=ext3
ID_FS_TYPE=reiserfs
ID_FS_TYPE=reiserfs
ID_FS_TYPE=reiserfs

No lvm device seems to have the string 'lvm' in it's ID_FS_TYPE.
Could this be related?

Here is the full udev event for one of my LVM partitions:

UDEV  [1174653621.853796] add@/block/dm-1
UDEV_LOG=3
ACTION=add
DEVPATH=/block/dm-1
SUBSYSTEM=block
SEQNUM=6073
MINOR=1
MAJOR=239
UDEVD_EVENT=1
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=02c22ef9-44a3-415f-9194-aad433826430
ID_FS_LABEL=
ID_FS_LABEL_SAFE=
DEVNAME=/dev/mapper/main_vg-opt_lv
DEVLINKS=/dev/disk/by-uuid/02c22ef9-44a3-415f-9194-aad433826430

My knowledge about udev is rather sparse, so if I wrote humbug, just
ignore it. ;-)

-- 
Root fs on LVM fails to boot
https://launchpad.net/bugs/87745

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to