You are not logged in.
Hi,
after reading the wiki for several hours I am stuck:
etc/fstab:
192.168.0.233:/mnt/z1 /mnt nfs user 0 0
Note that file system is nsf, not nfs4 because the server doesn't support it. I also tried the server name instead of the IP and options like noauto or _netdev to retain the mounting until the network is up. Doesn't matter, the result is always the same:
journalctl -b:
mount.nfs: mount system call failed
mnt.mount mount process exited, code=exited status=32
Failed to mount /mnt.
Dependency failed for Remote File Systems.
Unit mnt.mount entered failed state.
Of course restarting mnt.mount works like a charm, as does mounting manually.
I also tried autofs, which worked fine until I plugged in a 3 GB usb drive, so I would prefer to get mounting via fstab working instead of fixing the autofs issue.
Thanks!
Last edited by AKL (2014-03-24 16:57:17)
Endut! Hoch Hech!
Offline
This is just half a guess, and probably not the issue here; but I thought I'd mention it nonetheless (just in case).
If you're using NetworkManager, give this a read/try.
Burninate!
Offline
Thanks, but no, NetworkManager is not involved, just dhcpcd.
Endut! Hoch Hech!
Offline
According to https://bbs.archlinux.org/viewtopic.php?id=158200; it might be caused by rpc-statd.service not running when the mount is attempted
Offline
Rpc-statd is running and the dependencies seem to be correct. How can I check the order in which the services are started?
Endut! Hoch Hech!
Offline
Rpc-statd is running and the dependencies seem to be correct. How can I check the order in which the services are started?
You should be able to see the order in your systemd journal (simply query'ing for "systemd" should give you all the loglines of services starting during boot).
Burninate!
Offline
I was looking at the same issue in a post that has been closed now. Try these options in fstab
noauto,x-systemd.automount
ip.address.of.host:/export/path/to/sharename /path/to/mount/sharename nfs noauto,x-systemd.automount 0 0
Last edited by Walston_Tempest (2014-03-23 20:22:52)
Offline
That did it, thanks!
Endut! Hoch Hech!
Offline
please mark your thread as solved
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline