1834209 Members
2445 Online
110066 Solutions
New Discussion

Re: nfs not responding

 
Rajib_1
Advisor

nfs not responding

Sir,

I have a problem related to nfs.I have a snfs server named hpsr5.now the problem is all my clients are not able to connect to the server.My checklist is as below.

1)checked network connection by ping command from both ends(by ip and by name)

2)stopped and started nfs.server and nfs.client on both sides.

3)tried manually mounting the server directories on client side

4)restarted both server and client.

Pls respond quickly

regards

Mangesh
Don't cry because it's over, smile because it happened
7 REPLIES 7
Wim Rombauts
Honored Contributor

Re: nfs not responding

Can you NFS-mount your exported directories on the NFS-server itself ?
This would rule out eventual network problems.
Check /etc/xtab : what's in there. Do you see all exported filesystems and servers you expect ?
Do you get an error message ?
Nido
Trusted Contributor

Re: nfs not responding

Hi Rajib,

Check all the NFS daemon Processes running on the server.
run rpcinfo -p
Check for portmapper daemon.

Regards,
Ganesh
" Let Villagers Be Happy!! "
Rajib_1
Advisor

Re: nfs not responding

The results are here after i mount my local directory

# hostname
HPSR5
# cd /etc
# more xtab
/users2 -anon=65534,root=hpws3:hp7:hp10:hpws4:hpsr1
/users3 -anon=65534,root=hp7:hpsr1:hpsr3:hpws3:hpws1:hpws11
/users4 -anon=65534,root=hpws3:192.9.200.4:hp7:hp10:hpsr3
/cdrom -anon=65534,ro
/users1 -anon=65534,root=hpws3:192.9.221.36:hp7:hp13:hp10:hpws2
# pwd
/etc
# cd /
# ls -l
â ¥# ls
.ICEauthority dsk2 hpws4_u1 tmp
.TTauthority dsk2_hpsr5 hpws4_u2 tmp_mnt
.Xauthority dsk3 hpws4u2 try_2d.log
.dt dsk4 hpws7 ug18_doc
.dtprofile etc ilink ug19_doc
.netscape halt kishore ugnx2.reg
.newsrc-news history.pax lib ugs
.profile home lost+found ugtrg
.rhosts hp6 mangesh ugv190.reg
.sh_history hpsr1 mangesh123 users1
.shrc hpsr3_u1 net users2
.sw hpsr4_u1 ns_imap users3
SD_CDROM hpsr4_u2 nsmail users4
bal_ug_util hpsr5_u1 opt usr
bin hpsr5_u2 pdm var
cdrom hpsr5_u3 putvax weekly
data1 hpsr5_u4 registry xyz_2d.dwg
data2 hpws11_u1 sbin xyz_2d.log
data3 hpws11_u2 scratch xyz_2d.prt
dev hpws11_u3 sds_2d.log xyz_2d_summary.log
dsk1 hpws11_u4 stand
# pwd
/
# cd mangesh123
# ls
# cd /
# mount hpsr5:/users2 /mangesh123
nfs mount: getaddr_nfs: hpsr5: NFS service not responding(retry delay=5s)
nfs mount: retry: retrying(1) for: /mangesh123 after 5 seconds
nfs mount: retry: giving up on: /mangesh12
Don't cry because it's over, smile because it happened
Rajib_1
Advisor

Re: nfs not responding

output of rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 tcp 49918 status
100024 1 udp 52280 status
100021 1 tcp 49919 nlockmgr
100021 1 udp 52281 nlockmgr
100021 3 tcp 49920 nlockmgr
100021 3 udp 52282 nlockmgr
100021 4 tcp 49921 nlockmgr
100021 4 udp 52283 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 49922 nlockmgr
100005 1 udp 52388 mountd
100005 3 udp 52388 mountd
100005 1 tcp 49925 mountd
100005 3 tcp 49925 mountd
Don't cry because it's over, smile because it happened
Mark Greene_1
Honored Contributor

Re: nfs not responding

run this on your nfs server:

UNIX95= ps -efH|head -1; UNIX95= ps -efH|egrep "inetd|rpc|mount|nfs"|grep -v grep; rpcinfo -p|egrep "service|nfs"; showmount -e; mount -p

the results from the showmount should be all the directories available for export. Also check the /etc/exports file to see if anything got changed there.

mark
the future will be a lot like now, only later
Rajib_1
Advisor

Re: nfs not responding

when i run the rpcinfo command on server hpsr5 i get the folowing error
# rpcinfo -u hpsr5 nfs
rpcinfo: RPC: Program not registered
program 100003 is not available

when i run the rpcinfo command on client hpws3 i get the folowing error
# rpcinfo -u hpws3 nfs
rpcinfo: RPC: Program not registered
program 100003 is not available


pls help
regards
mangesh
Don't cry because it's over, smile because it happened
Rajib_1
Advisor

Re: nfs not responding

is their anybody who can help me out

# rpcinfo -u hpsr5 mountd
program 100005 version 1 ready and waiting
rpcinfo: RPC: Program/version mismatch; low version = 1, high version = 3
program 100005 version 2 is not available
program 100005 version 3 ready and waiting

# rpcinfo -u hpws3 mountd
rpcinfo: RPC: Program not registered
program 100005 is not available

Don't cry because it's over, smile because it happened