How can I make systemd stop grabbing NFS mounts?

Tom Horsley horsley1953 at gmail.com
Wed Jan 15 23:09:40 UTC 2014


> Well, you could always make a wrapper around a shutdown command and use "umount -f" as in "force".
> 

Something like that might work if this bugfix has made it into
the current kernel (it probably has, we're on 3.12 now):

https://bugzilla.redhat.com/show_bug.cgi?id=980088

But what I'd really need is a new systemd unit that
umount depends on that could run first and umount -f
all the NFS filesystems in the background, then umount -l
them for good measure (because I've seen -f take
forever to timeout as well :-). That way I wouldn't
need an alias for every possible shutdown command.


More information about the users mailing list