I dist upgraded my home server today which was running with opensuse 15.1. After the upgrade system booted on recovery console due to /srv/storage lvm volume not mounted (it is on fstab). I checked and discoverd that the volume was inactive
I can make it active with “lvchange -ay /dev/lvm0/storage” and mount it correctly but after reboot it is again inactive and because of that boot fails… I ended removing the volume from fstab to be able to boot but my services need the volume on boot time. It was working as expected with 15.1 but broke immediately after the upgrade.
How can I make the volume to be active on boot so it can be mounted from fstab.
Extra info I just discovered. I’m seeing this on journal logs
Ιαν 30 17:31:15 romantsa lvm[480]: Udev database has incomplete information about device /dev/sda.
Ιαν 30 17:31:15 romantsa lvm[480]: /dev/sda: Failed to get external handle [udev].
Ιαν 30 17:31:15 romantsa lvm[480]: Udev database has incomplete information about device /dev/sdb.
Ιαν 30 17:31:15 romantsa lvm[480]: /dev/sdb: Failed to get external handle [udev].
Ιαν 30 17:31:15 romantsa lvm[480]: Udev database has incomplete information about device /dev/sdc.
Ιαν 30 17:31:15 romantsa lvm[480]: /dev/sdc: Failed to get external handle [udev].
Ιαν 30 17:31:15 romantsa lvm[480]: Udev database has incomplete information about device /dev/sdd.
Ιαν 30 17:31:15 romantsa lvm[480]: /dev/sdd: Failed to get external handle [udev].
Ιαν 30 17:31:15 romantsa lvm[480]: Udev database has incomplete information about device /dev/sde.
Ιαν 30 17:31:15 romantsa lvm[480]: /dev/sde: Failed to get external handle [udev].
Ιαν 30 17:31:15 romantsa lvm[480]: Udev database has incomplete information about device /dev/sde1.
Ιαν 30 17:31:15 romantsa lvm[480]: /dev/sde1: Failed to get external handle [udev].
Ιαν 30 17:31:15 romantsa lvm[480]: Udev database has incomplete information about device /dev/sde2.
Ιαν 30 17:31:15 romantsa lvm[480]: /dev/sde2: Failed to get external handle [udev].
Got a hint about udev on opensuse mailing list but it is beyond my knowledge to debug it…
Opened a bug here: https://bugzilla.opensuse.org/show_bug.cgi?id=1181615 in case someone can find the root cause… The problem is that my server is almost unusable after reboot and I have to manually mount the logical volume and start the services which using it. I’ll try to keep it like this in case the bug is confirmed, so I can help to resolve it but maybe I need to backup everything and start a clean 15.2 installation… want to avoid that.
It seems an old raid signature was lying on this disk, although Leap 15.1 didn’t had any issue with that.
baskinsy:~ # dmraid -s
ERROR: pdc: wrong # of devices in RAID set "pdc_bgdejjghgi" [1/2] on /dev/sde
ERROR: pdc: wrong # of devices in RAID set "pdc_bgdejjghgi" [1/2] on /dev/sde
*** *Inconsistent* Set
name : pdc_bgdejjghgi
size : 1250000000
stride : 128
type : mirror
status : inconsistent
subsets: 0
devs : 1
spares : 0
So I used the following to clear the signature
baskinsy:~ # dmraid -r -E /dev/sde
Do you really want to erase "pdc" ondisk metadata on /dev/sde ? [y/n] :y
baskinsy:~ # dmraid -s
no raid disks
After that /dev/sde was assing a UUID and recognised by udev a LVM2 member so started to be mounted on boot.
Sadly, i didn’t found that before formatting the upgraded so I have to redo my services configuration.