-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inconsistent/incomplete /dev/disk/by-id links #128
Comments
hmm, now I understand it even less, booting with kernel 5.14.18 with |
I wonder if there is a race condition between creating the actual symlinks and creating the |
I think messages like this explain the missing symlinks
ping me for a full log |
I'm currently unable to access the RedHat BZ. I need to get an account first. I've tried several reboots on an LPAR with 10 DASDs persistently configured using |
my environment is
The original report is from OCP/RHEL-8.x with z/VM 7.2.0 on z13 and z15. I suspect there might be something wrong with udev or kernel handling the devices, rather than the udev rules in s390utils which are pretty straightforward. 20220105-1028-udev.log.zip
|
I was able to reproduce the issue myself now with:
I didn't see the problem when using chzdev to persistently configuring the devices. Maybe you can give it a try I'll dig a bit deeper to see where the problem might be. |
Have you also removed the Right now I am testing with |
I believe using the zdev persistent config doesn't matter. I have converted my system fully to zdev for dasds and I am still getting random result with the "by-id" links. I suspect the problem is deeper in udev or kernel. |
@sharkcz it's been a while and I haven't been able to come around looking deeper into this. Is this still reproducible? |
hi @hoeppnerj , I believe it still does happen. I have tried a fresh F-40 installation on a z/VM guest (with a single DASD) and after the first boot there was no |
I have checked another z/VM systems with multiple DASDs (F-39 with kernel 6.7) and they both have entries |
And after another series of reboots on a F-39 system (with 1 DASD) I would say the |
Alright, thanks for the update. I'll try to have a look again. As it seems it must be something to do with |
I would say please try F-39 on a slightly bigger VMs than my single dasd one to either confirm or refute my findings. Similar with F-40. Right now I suspect a change in systemd/udev between v254 in F-39 and v255 in F-40. Being able to run the |
SUSE found a similarly looking issue and we also didn't find a right way to fix it. It would be interesting to know what's the root cause. The most interesting part is that we got this issue much later than Fedora, early this year. We could observe it after we updated 15.6 Beta with the s390-tools 2.31.0. Reverting the package to 2.30.0 "fixed" the issue. Even we looked at 95dasd_rules module and tried to disable it or adjust it. For a short time it was emitting twice a message (we weren't using FBA): In the end we decided to patch grub2-mkconfig, so the symlinks are tested for existence and created. We could reproduce it only while installing LPAR, our VMs under z/VM never had this issue. Odd. |
We are experiencing a situation where the
/dev/disk/by-id/...
symlinks are inconsistent across reboots. Sometimes links for all disks/dasds are present, sometimes only a (different) subset is present.environment is Fedora 35 with kernel-5.14.18-300.fc35.s390x and s390utils-core-2.17.0-2.fc35.s390x (version shouldn't matter much as
etc/udev/rules.d/59-dasd.rules
hasn't changed for long time, except the scheduler setting)Fedora 35 with kernel-5.15.6-200.fc35.s390x doesn't seem to have the
/dev/disk.by-id
directory at all, looking further ...Related: https://bugzilla.redhat.com/show_bug.cgi?id=1963192
The text was updated successfully, but these errors were encountered: