Shawn wrote:
>   I'm trying to NFS mount a directory off another server, it allows all boxes to connect to it btw.  I can get the directory to mount on other systems that haven't mounted it previously without issue.  The system I'm having these problems on, I always get "permission denied" errors.

What to check when nfs doesn't work:

Ex: root at local# mount -t nfs remote:/exported /nfsmount
mount: remote:/exported failed, reason given by server: Permission
denied

# portmap needs to be running on both local and remote systems
ps -ef|grep portmap

# the nfs server needs to have nfs support in its kernel or must
# support nfs via modules:

        # monolithic kernel
        cat /proc/filesystems | grep nfs

        # modular kernel
        lsmod | grep nfs

# if you use /etc/hosts.{allow,deny} you must allow NFS and portmap
# to do this, in /etc/hosts.allow you needs lines like this:
# on nfs client, you need to allow the nfs server's <IP>
# on nfs server, you need to allow the nfs client <IP> and/or <IP-range>

# NFS
portmap: 127.0.0.1 <IP> <IP> ... : allow
rpc.mountd: 127.0.0.1 <IP> <IP> ... : allow

# nfs server, in /etc/exports, you must export the filesystems you're
# trying to nfs mount remotely on the nfs client

# cat /etc/exports
/exported         192.168.1.0/255.255.255.0(rw,no_root_squash)

# make sure nfs service is started on the nfs server
RH 6.x: /etc/rc.d/init.d/nfslock start
        /etc/rc.d/init.d/nfs start

Slackware: /etc/rc.d/rc.nfsd start

-- 
scot

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list