You are not logged in.
Hi All,
I have an NFS share listed in fstab and it doesn't mount at boot; however, when i mount -a, it mounts fine. Any thoughts?
Thanks.
Shawn
Last edited by shawn.abdushakur (2011-05-06 12:21:27)
Offline
Little help we can offer you if you don't post your fstab line
Regards
My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org
Offline
Last edited by hokasch (2011-05-05 10:49:53)
Offline
@damnshock: Good point . Here it is:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sda1 swap swap defaults 0 0
LABEL=arch / ext4 defaults 0 1
UUID=c1a8b2e0-bf9e-4382-ac4e-15c2aec65090 /srv/nfs ext3 defaults 0 0
/srv/nfs/shawn/Documents /home/shawn/Documents none bind
/srv/nfs/shawn/Downloads /home/shawn/Downloads none bind
/srv/nfs/shawn/Music /home/shawn/Music none bind
/srv/nfs/shawn/Pictures /home/shawn/Pictures none bind
/srv/nfs/shawn/Videos /home/shawn/Videos none bind
xbmc:/srv/nfs/watch /home/shawn/Downloads/torrents/watch nfs rsize=8192,wsize=8192,timeo=14,intr
Offline
And you don't see any mount-errors in your logs? Did you respect the order in which daemons have to be started for NFS to work? Are they backgrounded or not? If I had to guess, I'd say your network isn't fully established the moment fstab is trying to mount those shares.
Offline
I'm not sure where to look for errors. I come from an Ubuntu environment and they have a boot.log, but nothing like that here. I checked dmesg, but didn't see anything.
Here is the DAEMONS line from rc.conf:
DAEMONS=(syslog-ng network netfs crond dhcpd dbus @cups alsa sshd rpcbind nfs-common nfs-server)
That was my suspicion as well, but I can't figure out how to determine if that is the problem.
Thanks.
Offline
The NFS wiki says
Make sure you place portmap before netfs in the daemons array in /etc/rc.conf.
Offline
And that was it. I didn't think it would matter because I'm using rpcbind, but it does. I placed netfs last, after nfs-common. Thanks to all for the help.
Offline
Please edit your first post and add [SOLVED] to the thread title.
Thanks
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline