Operating System - HP-UX
1833777 Members
1965 Online
110063 Solutions
New Discussion

NFS Read/Write issue when nfsstat -m

 
Sanjay Shinde
Occasional Advisor

NFS Read/Write issue when nfsstat -m

Hi Guys,
I have set-up like NFS server is my ( Linux bax) /etc/exports looks like below
/nfs3 192.168.1.53(rw)

client side (HP) HP-Ux 11.0 N class
/etc/fstab as below
192.168.1.51:/nfs3 /test nfs rsize=8192,wsize=8192,timeo=30,rw,suid,hard,bg 0 2

nfs file system get mounted but even server has given Read/write (rw) option, Client side nfsstat -m show below
/test from 192.168.1.51:/nfs3 (Addr 192.168.1.51)
Flags: vers=3,proto=udp,auth=unix,hard,intr,link,symlink,devs,rsize=8192,wsize=8192,retrans=5
All: srtt= 0 ( 0ms), dev=381 (1905ms), cur=190 (3800ms)


it does't show Read/Write access like
example :-

Lookups: srtt= 7 ( 17ms), dev= 3 ( 15ms), cur= 2 ( 40ms)
Reads: srtt= 14 ( 35ms), dev= 7 ( 35ms), cur= 5 (100ms)
Writes: srtt= 21 ( 52ms), dev= 6 ( 30ms), cur= 5 (100ms)


also On server side /var/lib/nfs/xtab
show as access is read/write as below
/nfs3 192.168.1.53(rw,async,wdelay,hide,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2)


Anything I am missing on server side ?

Thanks in advance

Sanjay
Unix Sys. Admin.
1 REPLY 1
Johan Gjestvang
Frequent Advisor

Re: NFS Read/Write issue when nfsstat -m

Doing nfsstat -m, you are asking for server based performance information. May be the nfsserver (linux) are unable to provide you with such information ? I simpely
do not know the Linux NFS implementation good enough.
I may find the information
tomorrow.
You can a) see if
nfsstat -s
will work (it will give you
server based statistics)
or try to mount a FS from an
HP-UX machine and see if it
work (I belive it will)
b) run rpcinfo -p
and check you have all services aviable.
Br,
Johan