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
.



Relevant Pages

  • Re: NFS mount on AIX 5.2
    ... > Hallo Steve, ... missing at the time when the server tries to mount. ... that are not actually NFS hosts, ... prevent us from manually mounting NFS filesystems from other hosts. ...
    (comp.unix.aix)
  • Re: multiple NFS mounts with bg,retrycount=0
    ... the mount -a stuff twice at startup. ... two places where it will "mount NFS filesystems" during boot. ... This is the only script which issues such echo statements. ...
    (freebsd-stable)
  • Re: NFS mount on AIX 5.2
    ... 9f303a71.0312080557.11a291b6@posting.google.com, "Steve Bassler" ... > the automatic mount of NFS filesystems from rc.net to rc.nfs. ... > prevent us from manually mounting NFS filesystems from other hosts. ... Another solution might be to remove the bos.nfs.server fileset but keep the ...
    (comp.unix.aix)
  • Re: NFS automount not happening
    ... The root fs is mounted correctly (during the boot sequence, ... gets to fstab), but the other 2 NFS filesystems are not. ... I can mount ...
    (Debian-User)
  • Re: [SLE] /dev/sda1 usb flash memory
    ... mount point is different from entry in fstab. ... > camera on 9.1, the mount point is created dynamically by ...
    (SuSE)