Well, I have run into some problems in getting this NFS to work...
I was able to get it working in the lab but when I moved it to the real box
I was unable to get the shared drives to mount.
 
Here is what I have:
 
SERVER setup 
 
this is a log message I am getting
Aug 10 11:27:22 app rpc.mountd: refused mount request from
app.troyresearch.com for /usr (/): no export entry

as you can see below I have the export entrys in this file!!!
 
/etc/exports file - I have eliminated extra options for troubleshooting
purposes.) 
#This file contains a list of entries; each entry indicates a volume that is
#shared and how it is shared.
#
# an entry will be in the form of :
# directory machine1 (option11,option12) machine2 (option21, option22)
#
#
/var 66.179.42.82(rw)
/home 66.179.42.82(rw)
/usr 66.179.42.82(rw)

/etc/hosts.allow 
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
portmap: 66.179.42.82
lockd: 66.179.42.82
rquotad: 66.179.42.82
statd: 66.179.42.82
mountd: 66.179.42.82
nfsd: 66.179.42.82
 
etc/hosts.deny ( note: whole file comented out for troubleshooting)
#
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!
#portmap:ALL
#lockd:ALL
#mountd:ALL
#rquotad:ALL
#statd:ALL

Client setup
 
[root@app /]# cat /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
LABEL=/home        /home                   ext3    defaults        1 2
none                        /proc                   proc    defaults
0 0
none                        /dev/shm                tmpfs   defaults
0 0
LABEL=/tmp             /tmp                    ext3    defaults        1 2
LABEL=/usr              /usr                    ext3    defaults        1 2
LABEL=/var               /var                    ext3    defaults        1 2
/dev/sda9               swap                    swap    defaults        0 0
/dev/cdrom               /mnt/cdrom              iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                    /mnt/floppy             auto
noauto,owner,kudzu 0 0
66.179.42.82:/var      /mnt/app2var            nfs     exec,dev,suid,rw 1 1
66.179.42.82:/home  /mnt/app2home           nfs     exec,dev,suid,rw 1 1
66.179.42.82:/usr      /mnt/app2usr            nfs     exec,dev,suid,rw 1 1

hosts.allow
nfsd: 66.179.42.34
portmap: 66.179.42.34
lockd: 66.179.42.34
rquotad: 66.179.42.34
statd: 66.179.42.34
mountd: 66.179.42.34

hosts.deny 
empty
 
logs are here from client
[root@app /]# tail -f /var/log/messages 
Aug 10 11:04:55 app rpc.mountd: refused mount request from
app.troyresearch.com for /var (/): no export entry
Aug 10 11:24:42 app rpc.mountd: refused mount request from
app.troyresearch.com for /var (/): no export entry
Aug 10 11:24:42 app rpc.mountd: refused mount request from
app.troyresearch.com for /home (/): no export entry
Aug 10 11:24:42 app rpc.mountd: refused mount request from
app.troyresearch.com for /usr (/): no export entry
Aug 10 11:26:21 app rpc.mountd: refused mount request from
app.troyresearch.com for /var (/): no export entry
Aug 10 11:26:21 app rpc.mountd: refused mount request from
app.troyresearch.com for /home (/): no export entry
Aug 10 11:26:21 app rpc.mountd: refused mount request from
app.troyresearch.com for /usr (/): no export entry
Aug 10 11:27:22 app rpc.mountd: refused mount request from
app.troyresearch.com for /var (/): no export entry
Aug 10 11:27:22 app rpc.mountd: refused mount request from
app.troyresearch.com for /home (/): no export entry
Aug 10 11:27:22 app rpc.mountd: refused mount request from
app.troyresearch.com for /usr (/): no export entry
____________________________________________________________________________
_________________________
 
from Server
[root@radre-app /]# tail -f /var/log/messages ( starting and stopping the
service after changes to exports file)

Aug 10 11:24:11 radre-app nfs: rpc.mountd shutdown succeeded
Aug 10 11:24:15 radre-app kernel: nfsd: terminating on signal 9
Aug 10 11:24:15 radre-app last message repeated 7 times
Aug 10 11:24:16 radre-app nfs: nfsd shutdown succeeded
Aug 10 11:24:16 radre-app nfs: Stopping NFS services:  succeeded
Aug 10 11:24:16 radre-app nfs: rpc.rquotad shutdown succeeded
Aug 10 11:24:16 radre-app nfs: Starting NFS services:  succeeded
Aug 10 11:24:16 radre-app nfs: rpc.rquotad startup succeeded
Aug 10 11:24:16 radre-app nfs: rpc.mountd startup succeeded
Aug 10 11:24:16 radre-app nfs: rpc.nfsd startup succeeded
 
 
Todd Martin ; Operations Technician
inflow Inc.
St. Louis Data Center
314-754-0407
 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to