Re: nfs mount through fstab



On Wed, 18 Apr 2007 12:47:45 -0400, sysadmin wrote this:


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


I'm not sure what you intend to happen using those mount points.

To check nfs use

fraser:/var/spool/mail /mnt/mail nfs bg,rw,actimeo=0

fraser:/usr/local /mnt/local nfs bg,rw

If that mounts then it's the permission you have on /var/spool/mail and
/usr/local

I think it's safer using /mnt/somedir and pointing your apps to
those mount points instead of overlaying system areas. Or send mail
from or retreive mail from the nfsserver into the local machine.

.



Relevant Pages

  • Re: mount() function problem !
    ... mount() attaches the filesystem specified by source (which is often a device name, ... point within a file system. ... details of the options available for each filesystem type. ... Specifies the journalling mode for file data. ...
    (comp.lang.c)
  • Re: [autofs] [RFC] Towards a Modern Autofs
    ... >entangling autofs with that work. ... >filesystem it's willing to export. ... >>map is mounted. ... The result is that some users will see mount points ...
    (Linux-Kernel)
  • Re: UFS Bug: FreeBSD 6.1/6.2/7.0: MOKB-08-11-2006, CVE-2006-5824, MOKB-03
    ... They can simply mount a filesystem with any number of SUID ... root binaries on it and have their way with the box. ... They have physical access to the machine. ...
    (FreeBSD-Security)
  • Re: Automove vs Noautomove in BPXPRMxx
    ... read/write filesystem and the executables are in a separate, ... trying to manually mount the filesystem or you have a corrupted mount ... Automove vs Noautomove in BPXPRMxx ... Are you saying you have the same data set name but 2 physically ...
    (bit.listserv.ibm-main)
  • Re: Notes on support for multiple devices for a single filesystem
    ... device is to have a mount option that contains the path to the block special ... an additional mount option when the device number is stored in the filesystem ... We can either do this in user space, or in kernel space. ...
    (Linux-Kernel)