vol_id: detects vfat instead of ext3 UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Binary package hint: volumeid
My /dev/hda1 partitions can't be automatically mounted in fstab by UUID because vol_id returns wrong result.
What is strange is that blkid returns the correct result. I've also tried to change the UUID with tune2fs, blkid did see the changes but vol_id still gives the old wrong information, restart doesn't change anything. The problem is that udev creates the wrong symlink in /dev/disk/by-uuid/ using the wrong information from vol_id. If I manually creates the symlink with the correct UUID, I can mount the partition.
Here is the output of vol_id /dev/hda1 (wrong):
ID_FS_USAGE=
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT16
ID_FS_UUID=
ID_FS_LABEL=
ID_FS_LABEL_SAFE=
Here is the output of blkid /dev/hda1 (correct):
/dev/hda1: LABEL="/boot" UUID="ea8ce475-
Here is the content of my fstab:
UUID=a4657160-
UUID=ea8ce475-
UUID=51d2776a-
Please note that setting the UUID to the output of vol_id (1645-A1B7) does not work even the symlink is created.
But doing a 'ln -s ../../mapper/hda1 ea8ce475-
Unfortunatelly the symlink disappear at next reboot.
How is it possible to inform udev/vol_id of the correct parameters ?
Changed in udev: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in udev: | |
status: | Confirmed → Won't Fix |
I'm on Kubuntu Feisty, kernel 2.6.20-16-generic (but the problem dates back from edgy).
My installation is on an LVM partition which span on two disks (hda5 and hdb5).