You are not logged in.

#1 2009-09-12 00:14:23

colbert
Member
Registered: 2007-12-16
Posts: 809

NFS4 works all-around, but won't automount on bootup

I have one share I mount from my server, and on boot it never automounts although I have it in my fstab:

fstab:

# NFS4
nfsd /proc/fs/nfsd nfsd rw,nodev,noexec,nosuid 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0
192.168.1.100:/myth    /media/myth    nfs4    rw,defaults    0    0

Today I was rebooting and I saw when the Network daemon was starting a little "mount.nfs4 no such device" line right below it. My daemons line from rc.conf:

DAEMONS=(syslog-ng network netfs nfs-common nfs-server @sensors @keytouch @openntpd @sshd @lircd @crond alsa @samba @timidity++ hal !@vsftpd @noip mpd @ioreniced @cups gdm)

Thanks for any help

Offline

#2 2009-09-12 02:51:08

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: NFS4 works all-around, but won't automount on bootup

I am not too familiar with nfs4 but do you need to mount it like that?
I mean with older versions, the mount type is just 'nfs' and there is no need for rw because that is defined in the exports on the server.


neutral

Offline

Board footer

Powered by FluxBB