Mount NFS Storage
Important Notes
I make Docker wait until NFS is mounted so I don’t have to start Jellyfin and the ARR stack manually.
How to Mount NFS on Ubuntu/Debian
-
Edit the
/etc/fstabfile.Edit /etc/fstabsudo nano /etc/fstab -
Add the following line to the
/etc/fstabfile.Important Notes
Make sure the folder you wish to mount to is created prior, using the following command:
mkdir /opt/projects/shared.Copy Command10.1.10.25:/mnt/storage/Shared /opt/projects/shared nfs auto,defaults,nofail,x-systemd.required-by=docker.service,x-systemd.before=docker.service 0 0 -
Mount the folder manually.
Mount Folder Manuallysudo mount -a -
Reboot the server and verify that the mount works after reboot.
Reboot Serversudo reboot -f