Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After ensuring IP was setup properly it was just a matter of creating your mount path. This is a one time activity,

Code Block
languagebash
cd ~
mkdir -p mnt/guest.public
# forget if I also need to make the subdirectory
sudo mount -t nfs 192.168.0.5:/volume1/guest.public ./mnt/guest.public/

Connect your mount,

Code Block
languagebash
cd ~
mkdir -p mnt/guest.public
# forget if I also need to make the subdirectory
sudo mount -t nfs 192.168.0.5:/volume1/guest.public ./mnt/guest.public/


# confirm by looking at your files...

Unmounting,

Code Block
languagebash
cd ~
umount ./mnt/guest.public/

Setup Automatic Mounting on Startup

Make the directories for fstab,

Code Block
languagebash
sudo su - serveradmin
mkdir -p mnt/guest.public
exit
cd /home/serveradmin
sudo mv ./mnt/ /opt/

...

Code Block
languagebash
sudo cp /etc/fstab /ect/fstab.v0.0

Add the following to the bottom of the file,

Code Block
languagebash
# Mount NFS drive
192.168.0.5:/volume1/guest.public /opt/mnt/guest.public/ nfs4

Reboot the machine...

Troubleshooting

..

References

Benchmark on best Mounting Protocol for Ubuntu

...