Comments on: How to Install NFS Server on Debian 12 Step-by-Step https://www.linuxtechi.com/how-to-install-nfs-server-on-debian/ Tue, 12 Sep 2023 10:07:56 +0000 hourly 1 By: Subramoniam https://www.linuxtechi.com/how-to-install-nfs-server-on-debian/#comment-50260 Thu, 09 Mar 2023 07:12:07 +0000 https://www.linuxtechi.com/?p=12089#comment-50260 Hi Pratik

I am a newbie to all this Linux. Am trying to setup Logitech Media Server on my Tinker Board 2 S running Debian 10 v2. My music files reside on a Synology NAS. I followed your scripts and also the reply to Jacques to add _netdev to the line in fstab.

I can see the NAS on File Manager when I boot the board. However, it does not get mounted automatically. I need to click the icon or run mount -a from terminal.

How to get it mount automatically?

]]>
By: David https://www.linuxtechi.com/how-to-install-nfs-server-on-debian/#comment-23601 Thu, 26 Aug 2021 22:34:40 +0000 https://www.linuxtechi.com/?p=12089#comment-23601 In reply to Jacques.

Never put nfs mounts in /etc/fstab. Instead use the auto-mounter. It automatically mounts/unmounts on demand and can be configured to timeout so you don’t hang your system on nfs.

]]>
By: Pratik Gautam https://www.linuxtechi.com/how-to-install-nfs-server-on-debian/#comment-22875 Sat, 13 Mar 2021 13:55:54 +0000 https://www.linuxtechi.com/?p=12089#comment-22875 Hello JACQUES,
if your storage device is network, please
add _netdev
in /etc/fstab
The final output should like
192.168.122.126:/mnt/nfsshare /mnt/shared_nfs nfs4 defaults,user,exec,_netdev 0 0

]]>
By: Jacques https://www.linuxtechi.com/how-to-install-nfs-server-on-debian/#comment-22859 Mon, 08 Mar 2021 13:24:55 +0000 https://www.linuxtechi.com/?p=12089#comment-22859 This is fine.
Never the less, i’m using Buster with a BannaPi.
NFS share can still be declared in fstab.
But at boot, they are not mounted automaticaly as before.
I spent quiet a lot of time getting my share nfs mounted, through
systemd at boot. And i have to say no luck up to know.
Any idea ?
Jacques

]]>