Peppermint OS

Support => Networking => Topic started by: murraymint on January 17, 2019, 08:23:35 am

Title: [SOLVED] NFS shares in fstab not mounting at boot
Post by: murraymint on January 17, 2019, 08:23:35 am
This is a Peppermint 9 (original) install. I've got two NAS folders set to mount at boot but they often don't until I run sudo mount -a

The PC is connecting to the router over wireless. I don't have any problem with hanging either at boot or shutdown (and I haven't applied the fix for the shutdown hang).

The two folders both have different options in fstab; I can't remember where I got those options from.

Code: [Select]
192.168.1.21:/mnt/video /home/tom/Videos        nfs     auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
192.168.1.21:/mnt/4TB /home/tom/Music        nfs     auto,nofail,noatime

Any ideas how to make them automount 100% of the time?  :-\
Title: Re: NFS shares in fstab not mounting at boot
Post by: PCNetSpec on January 17, 2019, 09:08:54 am
Okay for comparison, here's one of my NFS entries
Code: [Select]
192.168.1.99:/data/Share /mnt/readynas/share nfs noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=1min,rsize=32768,wsize=32768,intr,noatime 0 0It may slow boot a little whilst it waits for networking to become active (specially wireless), but it seems to work for me.
Title: Re: [SOLVED] NFS shares in fstab not mounting at boot
Post by: murraymint on January 17, 2019, 09:29:52 am
Thanks, I've done it that way and it fixed it :)  There might be a few seconds' delay but it's better than having to open a terminal just to mount them.
Title: Re: [SOLVED] NFS shares in fstab not mounting at boot
Post by: PCNetSpec on January 17, 2019, 11:20:00 am
No problem, happy it works for you too :)