NFS shared volume parameters ?


  1. Additional NFS parameters

When we mount a new NFS volume, then “dietpi-drive-manager” creates an entry under the file “/etc/fstab” like this one by example

root@DietPi:~# cat /etc/fstab
# You can use "dietpi-drive_manager" to setup mounts.
# NB: It overwrites and re-creates physical drive mount entries on use.
#---------------------------------------------------------------- /mnt/media/dabou/nfs_client nfs nofail,noauto,x-systemd.automount

As some additional parameters could be needed like by example “insecure” (to allow to connect to the NFS shared drive using Finder Connect to on macos), is it possible using the dietpi-drive-manager GUI to add such additional parameter or we have to edit manually the “/etc/fstab” file and next restart the nfs kernel service ?

  1. NFS Mount point

When we add a new NFS mount point, the GUI mentions that it will be created under " Please enter a unique folder name for the mount location (eg: nfs_client). This will be placed in /mnt/".

Question: Is it possible to mont a NFS mount point under a different volume (eg. device: /dev/nvme0n1 mounted on /media/dabou) ?



nope dietpi-drive-manager is not that flexible and quite static. If you need additional config values, you would need to add them manually on /etc/fstab. But be careful, dietpi-drive-manager afterwards as it might overwrite thinks. Actually I’m not 100% if all values are preserved. Something to test.

If you like to mount to a place outside /mnt, you would need to change it as well manually on /etc/fstab