No UUID's for DMRAID block devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dmraid (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: dmraid
I have just done a fresh install of Intrepid beta using the alternate CD, so I can test the functionality of the new out-of-the-box DMRAID support. The is on a system that I've been using DMRAID on quite successfully for some time (albeit, with no support from the installer).
The installation went ok, but when I rebooted I found that only one of my filesystems was mounted. When I typed 'sudo mount -a', I got a bunch of error about filesystems not being found.
The fstab (which was created by the installer) identifies each block device by UUID (my fstab is attached). However, 'ls -l /dev/disk/by-uuid' yields the following:
chr1s@chris-
total 0
lrwxrwxrwx 1 root root 10 2008-10-04 12:29 7cfd1f74-
There is only a UUID for the one non-DMRAID block device. There are no UUID's for any of the DMRAID block devices identified in my fstab. However, if I type in 'sudo blkid', I get completely different results:
chr1s@chris-
[sudo] password for chr1s:
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/sdb1: LABEL="home" UUID="7cfd1f74-
All of them except for the swap partition look correct. This all worked ok in Hardy.
I was going to open this bug report against UDEV initially, as I thought it may just be an issue with the UDEV rules, but I ran 'sudo udevadm monitor --environment' and then 'echo add > /sys/block/
chr1s@chris-
udevmonitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent
UEVENT[
ACTION=add
DEVPATH=/block/dm-3
SUBSYSTEM=block
MAJOR=254
MINOR=3
DEVTYPE=disk
SEQNUM=3012
UDEV [1223117827.149000] add /block/dm-3 (block)
UDEV_LOG=3
ACTION=add
DEVPATH=/block/dm-3
SUBSYSTEM=block
MAJOR=254
MINOR=3
DEVTYPE=disk
SEQNUM=3012
UDEVD_EVENT=1
DEVNAME=/dev/dm-3
I was expecting to see a 'ID_FS_UUID' field in this output.
Dmraid needs to depend on dmsetup for the UUIDs to be set correctly. For now, please install the dmsetup package, and let me know how things go.
I will be addressing this in a dmraid update this week.
Luke