Hi,
I'm trying to learn how I can get my pi box to see the NFS share on my server computer (Running Debian). Using the command line and fstab, at boot it works perfectly.
I've read that autofs is better in the eventuality that the server has to reboot.
I've got the following:
auto.master
Code:
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
#/misc /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
#/net -hosts
#
# Include /etc/auto.master.d/*.autofs
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/nfs /etc/auto.nfs
auto.nfs
Code:
hp -fstype=nfs4 192.168.0.121:/export/4TB
I've also followed the other steps from here
https://help.ubuntu.com/community/Autofs In trying to problem solve the config files may be slightly different to how they are said to be in the Ubuntu guide.
I've got no idea what any of it means or which bit is which. Can someone help?