NFS Mount

NFS Mount

Post by Dr. William H. Weed » Wed, 27 Dec 1995 04:00:00



I have setup a network of Pentium boxes running Linux 1.2.1.
I am trying to remote mount file systems across machines.
Sometimes they mount o.k., but sometimes they don't mount.
My machine will mount certain filesystems o.k., but others
it will not mount.  Here is the error message on my machine
when I try to 'mount -a':

# mount -a
mount: lanczos:/home2 failed, reason given by server: Permission denied
mount: rssim:/home1 failed, reason given by server: Permission denied
mount: lanczos:/scr2 failed, reason given by server: Permission denied
mount: rssim:/scr1 failed, reason given by server: Permission denied
#

Here is my /etc/fstab:

##### Linux file systems
/dev/hda2        swap        swap        defaults 0 2
/dev/hda1        /        ext2        defaults 0 1
/dev/sda1        /max1  ext2        defaults 0 1
/dev/sda2        /max2  ext2        defaults 0 1
##### Mount MSDOS hard disk drive C: as /msdos
#/dev/hda3        /dosc        msdos        defaults
#/dev/hda3        /dosc        msdos        rw,user,suid,dev,exec,auto,async,conv=auto
/dev/hda3        /dosc        msdos        rw,user,suid,dev,exec,auto,async 0 2
##### Mount MSDOS floppy disk drive A: as /fd0
# Allow only root user to do this ('mount /dev/fd0' or 'mount -a -t msdos')
#/dev/fd0        /fd0        msdos        defaults
# Allow ordinary users to do this ('mount /dev/fd0')
#/dev/fd0        /fd0        msdos        rw,user,suid,dev,exec,noauto,async,conv=auto
/dev/fd0        /fd0        msdos        rw,user,suid,dev,exec,noauto,async 0 2
##### Mount MSDOS floppy disk drive B: as /fd1
# Allow only root user to do this ('mount /dev/fd1' or 'mount -a -t msdos')
#/dev/fd1        /fd1        msdos        defaults
# Allow ordinary users to do this ('mount /dev/fd1')
#/dev/fd1        /fd1        msdos        rw,user,suid,dev,exec,noauto,async,conv=auto 0 2
/dev/fd1        /fd1        msdos        rw,user,suid,dev,exec,noauto,async 0 2
# Mount CDROM (if there is a disk in there)
/dev/cdrom       /cdrom        iso9660       ro,user,suid,dev,exec,noauto,async 0 2
#/dev/cdrom       /cdrom        iso9660       defaults 0 2
# Mount NFS filesystems from CDSP
hilbert:/scsi_disks/sd5h/u5/whw /cdsp/u5/whw    nfs     rw,intr,nouser,nosuid,nodev,noexec,auto,async 0 2
hilbert:/var/spool/mail         /cdsp/var/spool/mail nfs rw,intr,nouser,nosuid,nodev,noexec,auto,async 0 2
# Mount NFS filesystems from CER
cauchy:/home3   /home3 nfs defaults 1 1
lanczos:/home2  /home2 nfs defaults 1 1
rssim:/home1    /home1 nfs defaults 1 1
cauchy:/scr3    /scr3 nfs defaults 1 1
lanczos:/scr2   /scr2 nfs defaults 1 1
rssim:/scr1     /scr1 nfs defaults 1 1
ampere:/        /ampere nfs defaults 1 1

#
none             /proc    proc        defaults 0 2

Here is the /etc/exports file on lanczos:

# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/home2 maxwell.cdsp.neu.edu(rw,root_squash)
/home2 cauchy.cdsp.neu.edu(rw,root_squash)
/home2 rssim.cdsp.neu.edu(rw,root_squash)
/home2 ampere.cdsp.neu.edu(rw,root_squash)
/scr2 maxwell.cdsp.neu.edu(rw,root_squash)
/scr2 cauchy.cdsp.neu.edu(rw,root_squash)
/scr2 rssim.cdsp.neu.edu(rw,root_squash)
/scr2 ampere.cdsp.neu.edu(rw,root_squash)

Is there a way to background the remote mounting so that it
doesn't take forever to boot if there is a problem?

Thanks in advance,

Bill Weedon
Visiting Asst. Professor
Center for Electromag Research and
Dept. of Elect. and Computer Engineering
Northeastern University

 
 
 

1. /var/mail: to NFS mount or not to NFS mount?

... that is the question.

Assuming a homogenous Sun/Solaris environment, what are
people's opinions of NFS mounting /var/mail on workstations,
as opposed to using IMAP to read one's email.  Assume that
all workstations are on the same LAN.

How scalable is either solution?

TIA,

--
Rich Teer

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net

2. column numbers in a file

3. nfs mount to a nfs mount fails

4. user not prompted to change password on login

5. nfs mount problem: mount: can't get address for nfs-server.kauai

6. Shared Volume

7. NFS mount won't mount at boot, but mount -a works fine.

8. Dynamic Paste Doesn't Work

9. Frequency of NFS lock problems w/ NFS mounted mail spool

10. linux NFS server problem - can't ls in the NFS mounted directory.

11. HACMP NFS cluster and stale NFS mounts

12. Can NFS mount an NFS again?!

13. HELP NFS permission denied on NFS mount point