systemd 215: NFS mount marked successfully even if it's not (and other NFS mounts issues)
Sandro Tosi
morph at debian.org
Mon Mar 14 11:02:50 GMT 2016
Any idea of what might be going on here? thanks in advance!
On Thu, Mar 10, 2016 at 5:22 PM, Sandro Tosi <morph at debian.org> wrote:
> Hey!
>
> we are seeing some weird behavior of systemd 215 (I know it's a rather
> old version, but it's the one on Debian Jessie, so it has quite a big
> audience) with NFS mounts. We had a lengthy and helpful discussion[1]
> with the Debian systemd maintainers (CC'ed) about that and in one of
> the last messages[2] we spotted something that sounds really weird and
> we'd like you to have a look:
>
> Feb 23 06:50:43 SERVER systemd[1]: Mounting /mnt/NFSSERVER1_VOL...
> Feb 23 06:50:43 SERVER systemd[1]: About to execute: /bin/mount -n
> XXX.YYY.32.75:/vol/vol3 /mnt/NFSSERVER1_VOL -t nfs -o
> ro,intr,nolock,tcp,rdirplus,noatime,_netdev
> Feb 23 06:50:43 SERVER systemd[1]: mnt-NFSSERVER1_VOL.mount changed
> dead -> mounting
> Feb 23 06:50:43 SERVER systemd[574]: Executing: /bin/mount -n
> XXX.YYY.32.75:/vol/vol3 /mnt/NFSSERVER1_VOL -t nfs -o
> ro,intr,nolock,tcp,rdirplus,noatime,_netdev
> Feb 23 06:52:13 SERVER systemd[1]: mnt-NFSSERVER1_VOL.mount mounting
> timed out. Stopping.
> Feb 23 06:52:13 SERVER systemd[1]: mnt-NFSSERVER1_VOL.mount changed
> mounting -> mounting-sigterm
> Feb 23 06:52:13 SERVER systemd[1]: Child 574 belongs to mnt-NFSSERVER1_VOL.mount
> Feb 23 06:52:13 SERVER systemd[1]: mnt-NFSSERVER1_VOL.mount mount
> process exited, code=killed status=15
> Feb 23 06:52:13 SERVER systemd[1]: mnt-NFSSERVER1_VOL.mount changed
> mounting-sigterm -> mounted
> Feb 23 06:52:13 SERVER systemd[1]: Job mnt-NFSSERVER1_VOL.mount/start
> finished, result=done
> Feb 23 06:52:13 SERVER systemd[1]: Mounted /mnt/NFSSERVER1_VOL.
> Feb 23 06:52:13 SERVER systemd[1]: Starting Remote File Systems.
> Feb 23 06:52:13 SERVER systemd[1]: remote-fs.target changed dead -> active
> Feb 23 06:52:13 SERVER systemd[1]: Job remote-fs.target/start
> finished, result=done
> Feb 23 06:52:13 SERVER systemd[1]: Reached target Remote File Systems.
> Feb 23 06:52:13 SERVER systemd[1]: mnt-NFSSERVER1_VOL.mount changed
> mounted -> failed
>
> so it appears the mount is marked as mounted, while there was actually an error.
>
> We started the conversation at [1] with other NFS issues: some mounts
> were not mounted or appeared mounted twice, and they might all be
> related to some underlying problem with NFS shares and (maybe) this
> specific version of systemd or some other systems component, and your
> help in debugging and fixing them is greatly appreciated!
>
> we are willing to run tests or change configuration as needed, but it
> might be a bit difficult to upgrade to a newer version of systemd.
>
> Attached is the first few minutes of boot of the machine from where we
> extracted the log above (it's anonymized, but it should preserve all
> the useful information), and let me know if you need more details
> (some of them are in the thread at [1]) or some config changes.
>
> [1] http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2016-January/thread.html#10382
> + http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2016-February/thread.html#10734
> [2] http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2016-February/010870.html
>
> Thanks a ton in advance!
>
> Please keep me (and the Debian systemd maints) in CC, as I'm not
> subscribed to this list
>
> Cheers,
> --
> Sandro "morph" Tosi
> My website: http://sandrotosi.me/
> Me at Debian: http://wiki.debian.org/SandroTosi
> G+: https://plus.google.com/u/0/+SandroTosi
--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi
More information about the Pkg-systemd-maintainers
mailing list