Mount nfs at boot with use of trash (Solved)

New to Debian (Or Linux in general)? Ask your questions here!

Mount nfs at boot with use of trash (Solved)

Postby mafkees1233 » 2019-03-27 13:49

Hello,

I'm trying to have a couple of nfs shares mounted at boot time. If I use fstab it doesn't get mounted because it tries to mount it before the network has started.
I tried _netdev as mount option but that doesn't work. If I use x-systemd.automount it works but I can't move files to the trash folder. The same happens id I use autofs.

Is there a way to make the system wait for the network before it tries to mount nfs at boot?
Or with autofs or x-systemd.automount so I can use the trash folder?

Thanks for helping
mafkees1233
 
Posts: 2
Joined: 2019-03-27 13:40

Re: Mount nfs at boot with use of trash (Solved)

Postby mafkees1233 » 2019-03-28 23:09

Solved by editing /etc/network/interfaces.

Change allow-hotplug eth0 to auto eth0 and mounting during boot works with use of the trash folder
mafkees1233
 
Posts: 2
Joined: 2019-03-27 13:40


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable