Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fstab isn't advanced, it's essential

...

sudo mkdir /sfs-test # create the directory to mount the filesystem
sudo mount 10.83.81.227:/share_d161509e_2ea9_43f2_a472_b263ede7628f /sfs-test

...

This is good for a once-off test, but the mount won't be there after a reboot.  To make it persistent, which you almost certainly want to do, edit the mounts table (e.g. sudo nano /etc/fstab ) and add a line like the following:

Code Block
10.83.81.227:/share_d161509e_2ea9_43f2_a472_b263ede7628f /sfs-test nfs defaults,rw 0 0

To test this, unmount the share with sudo umount /sfs-test  and then run sudo mount -a .  This should cause the share to mount again if you have everything correct, otherwise you'll see an error message.  If it worked, it's then safe to reboot the machine to test mounting on boot up.   If it didn't work, don't reboot until you've fixed it or commented out the entry as it may prevent a proper boot up and you'd have to look at the VM console in Morpheus to correct the problem.