mmdmurphy
March 11th, 2022, 04:06 PM
I am trying to establish nfs mount. By trial and error, I found that this works from the command line, but probably won't survive a reboot:
mount -t nfs -o nolock 10.15.217.253:/data/anda /data/anda
(and gives me the desired results).
I then ran this command "mount | grep anda":
10.15.217.253:/data/anda on /data/anda type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576, namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec= sys,clientaddr=10.15.217.254,local_lock=none,addr= 10.15.217.253)
My question is about the syntax. Can I copy and paste the output of the mount command into the /etc/fstab file, or is the syntax different?
Searching the web hasn't been fruitful, as the nuances are lost.
mount -t nfs -o nolock 10.15.217.253:/data/anda /data/anda
(and gives me the desired results).
I then ran this command "mount | grep anda":
10.15.217.253:/data/anda on /data/anda type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576, namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec= sys,clientaddr=10.15.217.254,local_lock=none,addr= 10.15.217.253)
My question is about the syntax. Can I copy and paste the output of the mount command into the /etc/fstab file, or is the syntax different?
Searching the web hasn't been fruitful, as the nuances are lost.