You are not logged in.
I have searched for the solution to the problem I am having and have found no help, hopefully the masters of ARCH will help me.
I am unable to mount my NFS share at boot, but once I am able to ssh into the system I can perform a sudo mount -a and it mounts perfectly fine. when I review journalctl -b i see the following errors:
Mar 05 19:32:42 mars systemd[1]: storage-data.mount mount process exited, code=exited statu
Mar 05 19:32:42 mars systemd[1]: Failed to mount /storage/data.
Mar 05 19:32:42 mars systemd[1]: Dependency failed for Remote File Systems.
Mar 05 19:32:42 mars systemd[1]: Unit storage-data.mount entered failed state.
thanks in advance for the help.
Offline
Please sue code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_Code
Why is it failing?
sudo systemctl status storage-data.mountOffline
Sorry new to any forum, i guess i should have read the rules: here is the output:
storage-data.mount - /storage/data
Loaded: loaded (/etc/fstab)
Active: failed (Result: exit-code) since Sat 2014-03-15 00:54:00 CDT; 41s ago
Where: /storage/data
What: milkyway:/storage/data
Process: 107 ExecMount=/bin/mount milkyway:/storage/data /storage/data -t nfs4 -o rsize=8192,wsize=8192,timeo=14,intr,_netdev (code=exited, status=32)
Mar 15 00:54:00 mars mount[107]: mount.nfs4: mount system call failed
Mar 15 00:54:00 mars systemd[1]: storage-data.mount mount process exited, code=exited status=32
Mar 15 00:54:00 mars systemd[1]: Failed to mount /storage/data.
Mar 15 00:54:00 mars systemd[1]: Unit storage-data.mount entered failed state.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.Last edited by thenuw1 (2014-03-15 05:55:17)
Offline
Anyone have any ideas on this one?
Offline
My guess would be that it doesn't have network connection when it tries on boot.
Offline
I had the same issue and from the reading I did, Hspasta is correct. The options to add to the nfs line are
...noauto,x-systemd.automount...The latter option will mount the share on first access.
"Think for yourself and question authority." -T. Leary
Offline
Thank you both, that has been a thorn in my side, adding the below code did the trick.
noauto,x-systemd.automountOffline