Re: AIX 5.1 NFS3
- From: Dawid 'Kuba' Chrzan <qba@xxxxxxxx>
- Date: Sat, 29 Apr 2006 10:21:02 +0200
Niel Lambrechts napisał(a):
Dawid Jakub Chrzan wrote:karcanson@xxxxxxxxxxx napisał(a):Note: Please verify first before running any command. I am alsoThese directories are exported. I can list them and even mount them.
learning.. So I may be not correct:
I normally try following :
showmount -e ( to check )
smit nfs-->Network File systems(NFS)-->
Change show attributes of exported dir, select dir and hit enter... It
works
Recycling nfs through nfs.clean and rc.nfs etc..
showmount -e
etc...
They are exported as read only -> /export/sds -ro # in /etc/exports
The reboot suggestion sounds like a win$ person talking and as a first
resolve, is bad advice.
Unfortunately i had to reboot one machine.
Likely, some of the NFS server services are not up/hung.
On the client, what do you get for:
/usr/bin/rpcinfo -p server_name
And on the server side:
lssrc -g nfs
should show you if your rpc.mountd, portmap and nfsd is up.
If it is already up, try restarting portmapper and if that fails,
restart all the nfs services, do a refresh -s inetd or check your
inetd.conf configuration.
If you're still stuck you should read the entire "NFS Problem
Determination" chapter from the AIX System Management Guide.
(http://www.unet.univie.ac.at/aix/aixbman/commadmn/nfs_problem.htm)
box01 client
box02 server
##########################
i rebooted the server with NFS
from machine that has low uptime - i can use it with no problem
but it seems that it is a problem of nfs client not server
i have a machine that is working as client - 600days up
root@box01:/$ rpcinfo -p box0202
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
200006 1 udp 2049
200006 1 tcp 2049
100005 1 udp 32783 mountd
100005 2 udp 32783 mountd
100005 3 udp 32783 mountd
100005 1 tcp 32769 mountd
100005 2 tcp 32769 mountd
100005 3 tcp 32769 mountd
100024 1 tcp 32770 status
100024 1 udp 32796 status
100133 1 tcp 32770
100133 1 udp 32796
200001 1 tcp 32770
200001 1 udp 32796
200001 2 tcp 32770
200001 2 udp 32796
100021 1 udp 32821 nlockmgr
100021 2 udp 32821 nlockmgr
100021 3 udp 32821 nlockmgr
100021 4 udp 32821 nlockmgr
100021 1 tcp 32771 nlockmgr
100021 2 tcp 32771 nlockmgr
100021 3 tcp 32771 nlockmgr
100021 4 tcp 32771 nlockmgr
root@box01:/$ lssrc -s inetd
Subsystem Group PID Status
inetd tcpip 294984 active
root@box01:/$ lssrc -s portmap
Subsystem Group PID Status
portmap portmap 286790 active
root@box01:/$ lssrc -s biod
Subsystem Group PID Status
biod nfs 335974 active
root@box01:/$ showmount -e box02
export list for box02:
/aix/security (everyone)
/aix/aix510 (everyone)
/aix/aix520 (everyone)
root@box01:/$ mount -o soft box02:/aix/security /apar
mount: 1831-008 giving up on:
box02:/aix/security
vmount: A remote host did not respond within the timeout period.
NFS fsinfo failed for server box02: error 5 (RPC: Timed out)
root@ehnvis1gawa01:/$ mount box02:/aix/security /apar
NFS server box02 not responding still trying
NFS server box02 ok
root@box01:/$ mount | grep nfs
box02 /aix/security /apar nfs3 Apr 28 10:49
root@box01:/$ ls /apar
NFS server box02 not responding still trying
NFS server box02 ok
NFS server box02 not responding still trying
NFS server box02 ok
NFS server box02 not responding still trying
NFS server box02 ok
root@box02:tmp/xxx$ lssrc -g nfs
Subsystem Group PID Status
biod nfs 278600 active
nfsd nfs 286794 active
rpc.mountd nfs 303182 active
rpc.statd nfs 311380 active
rpc.lockd nfs 319574 active
root@box01:/$ uptime
10:50AM up 616 days, 17:12, 1 user, load average: 0.22, 0.15, 0.14
root@box02:tmp/xxx$ uptime
10:50AM up 23:20, 1 user, load average: 0.20, 0.17, 0.15
If i replace box01 box02 with the roles - box02 is a client
- all works ok.
Mounting from another machine (box10 uptime 2days) to box02 works ok.
Portmap was working , everything seems to work. I went through -> (http://www.unet.univie.ac.at/aix/aixbman/commadmn/nfs_problem.htm) but without comming to any conclussions.
--
Best Regards,
Dawid Chrzan
.
- References:
- AIX 5.1 NFS3
- From: Dawid Jakub Chrzan
- Re: AIX 5.1 NFS3
- From: karcanson
- Re: AIX 5.1 NFS3
- From: Dawid Jakub Chrzan
- Re: AIX 5.1 NFS3
- From: Niel Lambrechts
- AIX 5.1 NFS3
- Prev by Date: Re: openldap binaries for AIX 4.3.3.0
- Next by Date: Delete TCP port
- Previous by thread: Re: AIX 5.1 NFS3
- Next by thread: Disk Performance Problem
- Index(es):
Relevant Pages
|
|