Comment 4 for bug 118292

Revision history for this message
flx (flx-proyectoanonimo) wrote : Re: vol_id returns wrong fs information but blkid returns correct informations, udev create wrong uuid symlink

I have this very same problem, but in debian sid, with both custom 2.6.21 and 2.6.21-k7. Haven't tried with the generic one, but i'll bet the same will happen.
It seems like an udev bug.

--- here the wrong vol_id out ---
vol_id /dev/hda3
ID_FS_USAGE=raid
ID_FS_TYPE=LVM2_member
ID_FS_VERSION=LVM2 001
ID_FS_UUID=
ID_FS_LABEL=
ID_FS_LABEL_SAFE=
------

--- here the blkid correct one ---
blkid /dev/hda3
/dev/hda3: LABEL="/" UUID="ff42ae37-a7bd-41a5-88bc-d674634ddcdc" SEC_TYPE="ext2" TYPE="ext3
------

--- and some relevant parts of initramfs.debug (full file attached) ---
+ /lib/udev/vol_id -t /dev/hda3
+ FSTYPE=LVM2_member
+ RET=0
+ [ -z LVM2_member ]
+ echo LVM2_member
+ return 0
+
[...]
+ modprobe LVM2_member
+ mount -r -t LVM2_member /dev/hda3 /root
mount: Mounting /dev/hda3 on /root failed: No such device
[...]
+ /scripts/init-bottom/udev
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
[...]
-------