[Bug 810293] New: System boot fails due to systemd not able to mount multipathed FC disk
https://bugzilla.novell.com/show_bug.cgi?id=810293 https://bugzilla.novell.com/show_bug.cgi?id=810293#c0 Summary: System boot fails due to systemd not able to mount multipathed FC disk Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: All Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: steffen.hau@rz.uni-mannheim.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=530434) --> (http://bugzilla.novell.com/attachment.cgi?id=530434) journalctl -b output of a failed boot attempt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 I've updated one of my openSuSE 12.2 machines to the new 12.3 release. We've also switched from sysvinit-init to systemd. After a reboot, the machine fails to boot. It displays a welcome message for emergency mode and asks me for the root users password. In journalctl -b, I can see that it failed to mount /dev/dm-1 to /wwwcache. I've enabled multipathd with systemctl enable. But according to journalctl, it doesn't get started. If I uncomment the corresponding line in /etc/fstab, the system boots fine and multipathd.service gets executed. I'll attach a journalctl output, when I'm in the rescue shell again. If you need further information, please let me know. Reproducible: Always Steps to Reproduce: 1. Add a device-mapper (FC multipathed) disk to /etc/fstab 2. Reboot 3. Actual Results: Boot fails at mounting the device-mapper (FC multipathed) disk Expected Results: Mount the disk and continue booting -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c1
--- Comment #1 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c2
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c3
Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c4
--- Comment #4 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c5
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c6
Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c7
--- Comment #7 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c8
--- Comment #8 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c9
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c10
Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c11
--- Comment #11 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c12
--- Comment #12 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c13
--- Comment #13 from Frederic Crozat
Do you think it makes any difference wether I manually enable it or you add it to the preset?
No, it is "cosmetic": using a preset ensure the policy to enable or not a service is not part of the package but elsewhere and can be overriden. But OTOH, preset only applies on initial package install, not upgrade. And for some packages, it is stupid to not enable to service when package is installed. But in our particular case, multipath-tools package is almost alway installed, so enabling this service unconditionnaly might not be a good idea either.. Looking at /usr/lib/systemd/system/multipathd.service, it looks like there are some errors there (probably because the file was written for Fedora and not updated correctly for openSUSE) but I'm not sure they are causing your issue: Before=iscsi.service iscsid.service lvm2-activation-early.service -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c14
--- Comment #14 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c15
Jianye Shi
Thanks for the info.
I'll wait for new instructions from you or your colleague. I hold the machine in emergency mode.
In /etc/fsatb, try put: nofail at the end of line /home just after defaults (two empty places) and then save the file and reboot. The machine should work now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c16
--- Comment #16 from Jianye Shi
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c17
--- Comment #17 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c18
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c19
--- Comment #19 from Jianye Shi
I added the nofail option as you told me to and I can confirm that the machine boots now. The dm-1 entry is just mounted later in the boot process, after the multipath service has been started.
Perhaps you should add that information somewhere in the wikis or in some other place, where users usually look for help. Or is this just a workaround and there may be a fix for systemd to see that dm-1 depends on multipathd.service?
Well, I don't know the relation among nofail, systemd and multipathd.service but I think the parameter nofail is something essential. It solved the following problems: 1. landed in the emergency mode during/after installation (my own experience); 2. Network Manager not working (KDE desktop, my own experience); 3. Encrypted home partition (someone's experience, somewhere in Bugzilla). It's worth pointing out in the 2nd case as I put nofail to the fstab and saved the file and found that the status of NM from "(not connected)" to configured ("not connected" disappeared) even without rebooting. I suppose if someone updates, upgrades a system or cleanly installs a system but wants to keep his home partition untouched he might have encountered problems like above mentioned or even more. Generally speaking if one wants to keep his home partition untouched and found problems during or after installation, the suggestion to put nofail in fstab could be a help. It should be a workaround. Deep relation is still needed to dig out. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c
Ihno Krumreich
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c20
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c21
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c22
Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c23
--- Comment #23 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c24
--- Comment #24 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c25
--- Comment #25 from Steffen Hau
https://bugzilla.novell.com/show_bug.cgi?id=810293
https://bugzilla.novell.com/show_bug.cgi?id=810293#c
zhang jiajun
participants (1)
-
bugzilla_noreply@novell.com