1821203 Members
3293 Online
109631 Solutions
New Discussion юеВ

NFS problem

 
SOLVED
Go to solution
Tonatiuh
Super Advisor

NFS problem

Red Hat Enterprise Linux 3.0

Server which has the NFS (fileserver01):
========================================

[root@fileserver01 root]# cat /etc/exports
/bk1 ita1(rw,sync) ita2(rw,sync) ita3(rw,sync)
/bk2 ita1(rw,sync) ita2(rw,sync) ita3(rw,sync)
[root@fileserver01 root]# exportfs -a
[root@fileserver01 root]# exportfs
/bk1 ita1
/bk1 ita2
/bk1 ita3
/bk2 ita1
/bk2 ita2
/bk2 ita3
[root@fileserver01 root]# service portmap status
portmap (pid 3653) is running...
[root@fileserver01 root]# service nfs status
rpc.mountd (pid 3875) is running...
nfsd (pid 3867 3866 3865 3864 3863 3862 3861 3860) is running...
rpc.rquotad (pid 3856) is running...
[root@fileserver01 root]# service nfslock status
rpc.statd (pid 3672) is running...
[root@fileserver01 root]# rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
391002 2 tcp 32769 sgi_fam
100011 1 udp 641 rquotad
100011 2 udp 641 rquotad
100011 1 tcp 644 rquotad
100011 2 tcp 644 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100021 1 tcp 32770 nlockmgr
100021 3 tcp 32770 nlockmgr
100021 4 tcp 32770 nlockmgr
100005 1 udp 659 mountd
100005 1 tcp 662 mountd
100005 2 udp 659 mountd
100005 2 tcp 662 mountd
100005 3 udp 659 mountd
100005 3 tcp 662 mountd


Server which try to connect to NFS (ita01):
===========================================
[root@Ita1 root]# showmount fileserver01
Hosts on fileserver01:
ita1
[root@Ita1 root]# rpcinfo -p fileserver01
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
391002 2 tcp 32769 sgi_fam
100011 1 udp 641 rquotad
100011 2 udp 641 rquotad
100011 1 tcp 644 rquotad
100011 2 tcp 644 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100021 1 tcp 32770 nlockmgr
100021 3 tcp 32770 nlockmgr
100021 4 tcp 32770 nlockmgr
100005 1 udp 659 mountd
100005 1 tcp 662 mountd
100005 2 udp 659 mountd
100005 2 tcp 662 mountd
100005 3 udp 659 mountd
100005 3 tcp 662 mountd
[root@Ita1 root]# service portmap status
portmap (pid 3843) is running...
[root@Ita1 root]# service nfs status
rpc.mountd (pid 16901) is running...
nfsd (pid 16897 16896 16895 16894 16893 16892 16891 16890) is running...
rpc.rquotad (pid 16885) is running...
[root@Ita1 root]# service nfslock status
rpc.statd (pid 3863) is running...
[root@Ita1 root]# mount fileserver01:/bk1 /bk1
mount: mount point /bk1 does not exist

==================================
Any idea about why not connecting?
2 REPLIES 2
Slawomir Gora
Honored Contributor
Solution

Re: NFS problem

Hi,

[root@Ita1 root]# mount fileserver01:/bk1 /bk1
mount: mount point /bk1 does not exist

I think that on you Ital server there is no /bk1 directory.

You need to do on Ital machine:
1. mkdir /bk1
2. mount fileserver01:/bk1 /bk1
Steven E. Protter
Exalted Contributor

Re: NFS problem

Shalom,

NFS won't export what it can not see.

Prior to adding it to the /etc/exports file make sure the exported directory actually exists.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com