3. Mount NFS Share

04. Mount NFS Share to Linux VM

  1. Create dataset
  2. Data space management -> set it to x TiB
  3. Shares -> Unix -> Add

!!!! Mount should happen at root !!!!!

Now, that we have created an NFS share it is time to share it with another machine virtual or bare metal. In this case we will install inside a linux VM

To test if a TrueNas NFS share can be mounted use the following command:

sudo mount -t nfs 10.131.1.10:/mnt/alexandria/frigate /home/dpasnfrigate/media
sudo mount -t nfs 10.131.1.10:/mnt/alexandria/frigate /home/dpasnfrigate/media

Keep NFS share Mounted on Reboots

Generally, you will want to mount the remote NFS directory automatically when the system boots.

The /etc/fstab file contains a list of entries that define where how and what filesystem will be mounted on system startup.

To automatically mount an NFS share when your Linux system starts up add a line to the /etc/fstab file. The line must include the hostname or the IP address of the NFS server, the exported directory, and the mount point on the local machine.

Use the following procedure to automatically mount an NFS share on Linux systems:

  1. Set up a mount point for the remote NFS share:
sudo mkdir /frigate/media
sudo mkdir /frigate/media
  1. Open the /etc/fstab file with your text editor :
sudo nano /etc/fstab
sudo nano /etc/fstab
  1. Add the following line
10.131.2.10:/mnt/alexandria/frigate frigate/media  nfs defaults 0 0
10.131.2.10:/mnt/alexandria/frigate frigate/media  nfs defaults 0 0
  1. it
  2. Finally you need to update the new file with
systemctl daemon-reload
systemctl daemon-reload
  1. Run the mount command in one of the following forms to mount the NFS share:
mount frigate/media
mount frigate/media
  1. The mount command, will read the content of the /etc/fstab and mount the share.
  2. Next time you reboot the system the NFS share will be mounted automatically.

admin
60ab1406fba90830c0126bbdcae06743d54a4f62d76f1e75

sudo apt install gnome-software-plugin-flatpak


Revision #1
Created 2026-07-05 21:56:16 UTC by dpasn
Updated 2026-07-05 21:56:16 UTC by dpasn