FreeNAS up and running, successfully accessed SMB shares from a Windows 10 laptop, all is well. But cannot get Ubuntu 18.04 to automatically mount the FreeNAS share directory (file type NFS).
After I boot up the Ubuntu desktop I can run a script file and see the NFS share and its contents from within the linux OS. No problems there. But can't get the share to mount automatically upon boot.
This is the script command, issued after boot:
After running this command I can read and write to the share, reboot, and repeat with no problems.
So I tried editing the /etc/fstab file, by adding a line (the last line in this block of code):
So then reboot, and the file /var/fenikan_warehouse is empty.
Don't know what to try next. Any and all suggestions greatly appreciated.
After I boot up the Ubuntu desktop I can run a script file and see the NFS share and its contents from within the linux OS. No problems there. But can't get the share to mount automatically upon boot.
This is the script command, issued after boot:
Code:
sudo mount 192.168.1.174:/mnt/filebucket1/fenikan_warehouse /var/fenikan_warehouse
After running this command I can read and write to the share, reboot, and repeat with no problems.
So I tried editing the /etc/fstab file, by adding a line (the last line in this block of code):
Code:
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda4 during installation UUID=bbfe684f-a360-4805-a53f-27a45d503482 / ext4 errors=remount-ro 0 1 /swapfile none swap sw 0 0 192.168.1.174:/mnt/filebucket1/fenikan_warehouse /var/fenikan_warehouse nfs defaults 0 0
So then reboot, and the file /var/fenikan_warehouse is empty.
Don't know what to try next. Any and all suggestions greatly appreciated.