Aaron Digulla wrote:
Am Montag, Oktober 23, 2017 13:05 CEST, Peter Suetterlin <P.Suetterlin@royac.iac.es> schrieb:
Oct 23 07:44:13 royac6 systemd[1]: Mounting /home... Oct 23 07:44:13 royac6 kernel: EXT4-fs (md1): 1 orphan inode deleted Oct 23 07:44:13 royac6 kernel: EXT4-fs (md1): recovery complete Oct 23 07:44:13 royac6 kernel: EXT4-fs (md1): mounted filesystem with ordered data mode. Opts: discard Oct 23 07:44:13 royac6 systemd[1]: Mounted /home.
It seems systemd is trying to mount /home twice. Check your fstab and make sure there is no duplicate entry.
Eh - no. The first line says it's going to mount, the second says "now it's mounted". There's only one entry for /home in the fstab.
The other thing is to look for the source of "Starting Activate md array even though degraded". That sounds like the RAID1 is broken somehow. Use the standard tools to check the array. systemd is probably just calling those tools as well, they report a problem and systemd is acting on that.
The tools (mdstat, mdadm --detail / -E) tell me that the RAID is fine, and it had been properly assembled before the mount. But 30s later systemd thinks it is degraded. Which it is not(?).
The other problems (mail and NFS) are stopped by systemd because they need /home or the target "Local File Systems". Since /home is broken, they are stopped and /home is unmounted. Also check your other local file systems (root, var, ...).
The rest is on a different RAID1 (md0) and has no issues.
Oct 23 07:44:43 royac6 systemd[1]: Stopped target Local File Systems. Oct 23 07:44:43 royac6 systemd[1]: Unmounting /home... Oct 23 07:44:43 royac6 systemd[1]: Stopped (with error) /dev/md1. Oct 23 07:44:43 royac6 systemd[1]: Unmounted /home.
Why does it report /home twice?
Again, 'unmounting' and 'unmounted', so refering to the same operation.
Oct 23 07:44:44 royac6 systemd[1]: Stopped Timer to wait for more drives before activating degraded array.. Oct 23 07:44:44 royac6 systemd[1]: Found device /dev/disk/by-uuid/133b616a-1100-4278-86a7-9eb677783e9b. Oct 23 07:44:44 royac6 systemd[1]: Mounting /home...
This sounds like systemd gave up waiting for the broken mirror and tried to mount /home anyway. that would be the third time /home is mounted during boot.
It's the second time, but yes. It had mounted it, then unmounted, and mounted again. But there is nothing in the logs that gives a hint why it thinks the disk is not there. The RAID is not degraded, and never was (else there would be *some* message in the logs, wouldn't it? Or is it systemd policy to hide such unimportant info from me? And the final question is, of course, after /home is finally mounted - why doesn't it start NFS server and postfix services now? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org