Re: nfs mount through fstab



sysadmin <sysadmin@xxxxxxxxxxxxxxxx> writes:

Here is my /etc/fstab

Can't see where it is wrong

LABEL=/ / ext3 defaults
LABEL=/boot1 /boot ext3 defaults
devpts /dev/pts devpts gid=5,mode=620
tmpfs /dev/shm tmpfs defaults
LABEL=/export /export ext3 defaults
LABEL=/local1 /local ext3 defaults
proc /proc proc defaults
sysfs /sys sysfs defaults
LABEL=/tmp /tmp ext3 defaults
LABEL=/usr /usr ext3 defaults
LABEL=/var /var ext3 defaults
LABEL=SWAP-sda8 swap swap defaults
fraser:/var/spool/mail /var/spool/mail nfs bg,rw,actimeo=0
fraser:/usr/local /usr/local nfs bg,rw



Scott Hemphill wrote:
sysadmin <sysadmin@xxxxxxxxxxxxxxxx> writes:

Hi guys

I cannot mount nfs filesystems through fstab ( RHEL 5.0)

May be i have cleaned too much with chkconfig ?

network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
restorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rpcgssd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcsvcgssd 0:off 1:off 2:off 3:off 4:off 5:off 6:off


Is this ok .

I have no error messages , can mount the filesystem manually

What is worong ?
If you can mount the filesystem manually, then it sounds like your
/etc/fstab entry is incorrect.
Scott

If you can mount the nfs filesystems using the command

mount -at nfs

then the /etc/fstab entry is correct, and you can indeed mount the
filesystems through fstab. If you are simply complaining that the
nfs filesystems aren't being mounted at boot time, then make sure
that the service netfs is enabled.

Scott
--
Scott Hemphill hemphill@xxxxxxxxxxxxxxxxxx
"This isn't flying. This is falling, with style." -- Buzz Lightyear
.