AIX 5.3 NFS export not mounting, rpcinfo hang/timeout on server


 
Thread Tools Search this Thread
Operating Systems AIX AIX 5.3 NFS export not mounting, rpcinfo hang/timeout on server
# 1  
Old 09-12-2019
AIX 5.3 NFS export not mounting, rpcinfo hang/timeout on server

Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here.


server: sbkovwadmd01
Code:
sbkovwadmd01# chnfsdom
Current local domain: edw.dev

sbkovwadmd01# lssrc -a | grep nfs | grep active
 nfsd             nfs              335948       active
 nfsrgyd          nfs              381104       active

sbkovwadmd01# exportfs
/tmp/DOUG -vers=4,sec=sys,rw,root=sbkovwdatd01,access=sbkovwdatd01


client: sbkovwdatd01
Code:
sbkovwdatd01# chnfsdom
Current local domain: edw.dev

sbkovwdatd01# lssrc -a | grep nfs | grep active
 nfsd             nfs              283062       active
 nfsrgyd          nfs              274808       active

sbkovwdatd01# mount -o vers=4 sbkovwadmd01:/tmp/DOUG /mnt
NFS server sbkovwadmd01 not responding still trying

'rpcinfo' shows what one would expect on the client, but on the server, it just hangs and eventually times out. Whatever is causing this is most likely preventing the remote mount from happening as well, I'm guessing.

Code:
sbkovwadmd01# rpcinfo
rpcinfo: can't contact rpcbind: : RPC: 1832-008 Timed out

If I 'truss' it, below is the output after it finishes reading /etc/hosts (the leading close(3) is the /etc/hosts FD closing)

I've set up NFS services on many, many AIX servers before, but haven't run into this before. Wondering what might be getting in the way of rpcinfo/rpcbind

Code:
close(3)                                        = 0
socket(2, 2, 0)                                 = 3
kioctl(3, -1073190587, 0x2FF20EA0, 0x00000000)  = 0
kioctl(3, -1071093487, 0x2FF20EA8, 0x00000000)  = 0
kioctl(3, -1071093487, 0x2FF20EA8, 0x00000000)  = 0
kioctl(3, -1071093467, 0x2FF20EA8, 0x00000000)  = 0
kioctl(3, -1071093471, 0x2FF20EA8, 0x00000000)  = 0
kioctl(3, -1071093487, 0x2FF20EA8, 0x00000000)  = 0
kioctl(3, -1071093487, 0x2FF20EA8, 0x00000000)  = 0
kioctl(3, -1071093467, 0x2FF20EA8, 0x00000000)  = 0
kioctl(3, -1071093471, 0x2FF20EA8, 0x00000000)  = 0
kioctl(3, -1071093487, 0x2FF20EA8, 0x00000000)  = 0
close(3)                                        = 0
kopen("/dev/xti/udp", O_RDWR)                   = 3
kioctl(3, 536892182, 0x00000000, 0x00000000)    = 1
kioctl(3, 536892162, 0xF0219C00, 0x00000000)    = 0
kioctl(3, 536892168, 0x2FF225B0, 0x00000000)    = 0
sigprocmask(0, 0x2FF22550, 0x2FF22558)          = 0
kioctl(3, 536892168, 0x2FF224F0, 0x00000000)    = 0
sigprocmask(2, 0x2FF22558, 0x00000000)          = 0
sigprocmask(2, 0x2FF226F0, 0x2FF226F8)          = 0
__libc_sbrk(0x00000000)                         = 0x201D1910
thread_setmymask_fast(0x00000000, 0x00000000, 0x00000000, 0xD0289BBC, 0x00000000, 0x10106027, 0x10106027, 0x20323470) = 0x00000000
kioctl(3, 536892168, 0x2FF22610, 0x00000000)    = 0
_getpid()                                       = 233584
kioctl(3, 536892168, 0x2FF22590, 0x00000000)    = 0
sigprocmask(2, 0x2FF22690, 0x2FF22698)          = 0
thread_setmymask_fast(0x00000000, 0x00000000, 0x00000000, 0xD0289BBC, 0x00000000, 0x10106027, 0x10106027, 0x00000000) = 0x00000000
sigprocmask(2, 0x2FF22770, 0x2FF22778)          = 0
thread_setmymask_fast(0x00000000, 0x00000000, 0x00000000, 0xD0289BBC, 0x00000000, 0x10106027, 0x10106027, 0x00000000) = 0x00000000
sigprocmask(2, 0x2FF22788, 0x2FF22790)          = 0
putmsg(0x00000003, 0x2FF22500, 0x2FF22510, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000000) = 0x00000000
_poll(0x203234EC, 1, 15000)     (sleeping...)
_poll(0x203234EC, 1, 15000)                     = 0
putmsg(0x00000003, 0x2FF22500, 0x2FF22510, 0x00000000, 0x00000000, 0x00000000, 0x019ADF12, 0x00000000) = 0x00000000
_poll(0x203234EC, 1, 30000)     (sleeping...)
_poll(0x203234EC, 1, 30000)                     = 0
putmsg(0x00000003, 0x2FF22500, 0x2FF22510, 0x00000000, 0x00000000, 0x00000000, 0x019ADF12, 0x00000000) = 0x00000000
_poll(0x203234EC, 1, 14999)     (sleeping...)
_poll(0x203234EC, 1, 14999)                     = 0
thread_setmymask_fast(0x00000000, 0x00000000, 0x00000000, 0xD0289BBC, 0x00000000, 0x10106027, 0x10106027, 0x00000000) = 0x00000000
rpcinfo: can't contact rpcbind: : RPC: 1832-008 Timed outkwrite(2, 0xF03A696C, 57)                      = 57
   r p c i n f o :   c a n ' t   c o n t a c t   r p c b i n d :
   :   R P C :   1 8 3 2 - 0 0 8   T i m e d   o u t

kwrite(2, 0xF039B37E, 1)                        = 1
  \n
kfcntl(1, F_GETFL, 0x10106027)                  = 67110914
kfcntl(2, F_GETFL, 0x10106027)                  = 67110914
_exit(1)


Last edited by eckertd; 09-12-2019 at 03:25 PM.. Reason: forgot CODE tags
# 2  
Old 09-12-2019
I'm not versed with 5.3 but wasn't there an issue if multiple IP's were assigned in /etc/hosts to the same hostname?

Also, have you tried cycling all the nfs group services? I think lssrc -g nfs works? Sorry, only have 6.1 and 7.1 lpars in my environment.


I know, not much help. Sorry.
# 3  
Old 09-13-2019
Yes, rpcbind/portmap is needed, and rpcinfo -p must show mountd and nfs and their udp/tcp ports.
Please check the following:
AIX for System Administrators
# 4  
Old 09-13-2019
Quote:
Originally Posted by RecoveryOne
I'm not versed with 5.3 but wasn't there an issue if multiple IP's were assigned in /etc/hosts to the same hostname?

Also, have you tried cycling all the nfs group services? I think lssrc -g nfs works? Sorry, only have 6.1 and 7.1 lpars in my environment.


I know, not much help. Sorry.
Thanks for the reply. Yes, there was an issue in 5.3 with duplicate /etc/hosts entries. I've already checked this is not the case here.

Quote:
Originally Posted by MadeInGermany
Yes, rpcbind/portmap is needed, and rpcinfo -p must show mountd and nfs and their udp/tcp ports.
Please check the following: (URL removed - low post count)

Thanks for the reply. Yes, I'm well aware of what should be happening. The problem is 'rpcinfo' is hanging, then eventually times out. I'm trying to figure out why that is. Whatever is causing this behavior is what's likely causing NFS mounts to also timeout/fail.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

2. Red Hat

Mounting NFS filesystem on Windows server

Hello Can someone please suggest how should I configure Samba to share the drive from Linux to Window server, and Windows server is in AD environment. is this require winbind to be installed ?? Thanks, (0 Replies)
Discussion started by: bobby320
0 Replies

3. AIX

CIFS Mount not mounting on my AIX server

Dear Experts, Im facing a unique situation. We got a windows server folder cifs mounted on my AIX server. Before restarting the win server I tried unmounting the cifs mount. It got hanged and win server was restarted however. Now Im trying to mount the same. It prompts for password... (3 Replies)
Discussion started by: jayadeava
3 Replies

4. AIX

can not mount from aix client to linux nfs server

Hi, I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error: # mount 128.127.11.121:/aix /to_be_del mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper failure - RPC: 1832-008 Timed out mount: retrying... (1 Reply)
Discussion started by: victorcheung
1 Replies

5. Solaris

Df -h hang cant see any NFS storage

Hi all I had a server, when run the df -h command, it hang, and need to press "crtl+c" to terminate it. i cant other NFS filesystem anymore. but i try at other server, the NFS filesystem is work properly any idea on this? # mount -p /dev/md/dsk/d0 - / ufs - no... (1 Reply)
Discussion started by: SmartAntz
1 Replies

6. UNIX for Dummies Questions & Answers

Is it possible to set a timeout for rpcinfo?

I've created a script that checks the health of a piece of equipment out in the field by first establishing that it is pingable, and then parsing log files to gather information. Today I realized that there are times where the equipment may be pingable, and will not show any immediate issues in... (1 Reply)
Discussion started by: DeCoTwc
1 Replies

7. Solaris

Could I re-export a NFS resource to a third server ?

Hey Guys. Could someone said if is possible take a NFS resource get it from a original Server a export it and mount it in a third server ? Thank in Advace.... SUN ADMIN (3 Replies)
Discussion started by: aggadtech08
3 Replies

8. AIX

ftp timeout valiue in AIX 5.3 server !

Dear Friends, I am using AIX 5.3 server . In AIX , I want to increase the timeout value of the ftp service . But I cannot find any configuration file with ftp related in AIX 5.3 server . Would anybody plz tell me , How can I increase the default timeout value in AIX ? (2 Replies)
Discussion started by: shipon_97
2 Replies

9. AIX

How to export AIX File system NFS to Windows ?

Hello, Can someone please point to an easy document or steps how to export AIX file system /whatever to Windows O/S Basically Windows should see this filesystem / directory and should be able to write in this filesystem / directory Thanks (2 Replies)
Discussion started by: filosophizer
2 Replies

10. Solaris

Mounting a NFS network file system across platforms - Solaris to AIX

Hi all, Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10). Typically from Sun to Sun is: mount -F nfs <remote file system>/dir <mount point> Which of course doesn't work if the remote file system is another OS (like AIX). Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies
Login or Register to Ask a Question