So /usr/lib/udev/rules.d/60-persistent-storage-dm.rules is responsible
for creating the  /dev/disk/by-id/dm-uuid-* symlinks:

root@plucky:~# grep -rn "disk/by-id/dm-uuid" /usr/lib/udev/rules.d/
/usr/lib/udev/rules.d/60-persistent-storage-dm.rules:18:ENV{DM_UUID}=="?*", 
SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}"

That symlink is dependent on a non-empty `DM_UUID` udev environment
variable. That variable is set in /usr/lib/udev/rules.d/55-dm.rules:

root@plucky:~# grep -rn "ENV{DM_UUID}=[^=]" /usr/lib/udev/rules.d/
/usr/lib/udev/rules.d/55-dm.rules:133:TEST=="dm", 
ENV{DM_NAME}="$attr{dm/name}", ENV{DM_UUID}="$attr{dm/uuid}", 
ENV{.DM_SUSPENDED}="$attr{dm/suspended}"

So if that environment variable is not set, that's one reason why the
symlinks would not be created. A reason that variable is not set would
be that /sys/block/dm-N/dm (or /sys/block/dm-N/dm/uuid) does not exist.

Can you check for the existence of those things in /sys/, and maybe
paste the output of `udevadm info /sys/block/dm-N` for each N?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2102236

Title:
  plucky/s390x (with root disk on dm?) does not come up after kernel
  update + reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2102236/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to