1847251 Members
2853 Online
110263 Solutions
New Discussion

Re: NFS Problem.

 
SOLVED
Go to solution
Worapoj P.
Regular Advisor

NFS Problem.

Dear all,

Could you please to find out solution. My probelm is , when I executed command "ll" on files system which is NFS mount from another machine(NFS server) result it was freeze and gennerated CPU in SYS portion 90-100%.

Thanks advance for you answer,
Worapoj P.
For LOVE For Honor For Mankind
8 REPLIES 8
Antoanetta Naghiu
Esteemed Contributor
Solution

Re: NFS Problem.

Are you root while try to do ll? How is the NFS file system exported? If not exported for root access, and you are root it is the normal behavior. Check if you have access the /etc/exports file. See as well man exportfs, man exports under -o option.
Login as a regular user and try ll command.
Any better?
Worapoj P.
Regular Advisor

Re: NFS Problem.

Dear Antoanetta Naghiu,

Thank you for answer. Yes! when I do that I stilled login as root. BTW I have already
tested following your suggestion(login as regular user) but , the problem has stilled
persistence.

Any suggestion please let me know,
Worapoj P.
For LOVE For Honor For Mankind
Manju Kampli
Trusted Contributor

Re: NFS Problem.

could you please post the otions you are using for export and NFS mounting on the client.

Never stop "LEARNING"
Worapoj P.
Regular Advisor

Re: NFS Problem.

Dear Manju Kampli ,
Here is your requirement,

---------------- /etc/exports on server ---------------/sapmnt/T20/exe -anon=65534,root=detap1:detap2
/sapmnt/T20/global -anon=65534,root=detap1:detap2:detdb1
/sapmnt/T20/profile -anon=65534,root=detap1:detap2:detdb1
/usr/sap/trans -anon=65534,root=detdevl:detap1:detap2

---- /etc/fstab on client that were trouble ---------/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 ... swap pri=0 0 0
.
.
.
detdb1:/usr/sap/trans /usr/sap/trans nfs rw,suid 0 0

On NFS client please focus file system "/usr/sap/trans"

Thank you very much,
Worapoj P.

For LOVE For Honor For Mankind
Vincente Fernandes
Valued Contributor

Re: NFS Problem.

Check whether the daemons "/usr/sbin/nfsd" & "/usr/sbin/biod" are running.
Try unexporting(exportfs -uv) and exporting(export -av) or try exportfs with one of the "-o" options manually.

Vincente
Worapoj P.
Regular Advisor

Re: NFS Problem.

Dear Vincente Fernandes,

BTW the daemon preocesses nfsd and rpc.mountd already running on NFS server , biod also running on NFS client. Right now I cannot unexport NFS file system and remount for client because both machines are production machines.

Any solution please suggest me,
Worapoj P.
For LOVE For Honor For Mankind
Shannon Petry
Honored Contributor

Re: NFS Problem.

NFS Problems are always a joy to fix :)
Really, looking at your mount options, there are a few things that you could try.
Your client mount options are currently rw,suid. Try making the read and write smaller. This helps, especially with large directories, and loads of stuff in them. I.E
mount server/dir -o rw,suid,wsize=2048,rsize=2048
Remember that the smaller buffer size will make smaller packets. This not only helps your system, but can improver overall network performance a bit, as large packet re-transmits take more time.
Another note is on the server, what number of nfsd's are you running, and how many clients accessing how many directories. A heavy server should have at least 16 nfsd's running, and the default is 4. This too can greatly improve performance.
The last note is have you sniffed the network connection from that seat?
There have been many times where networking works for me, for the most part, but certain performance problems persist. Simply changine the cable or jack may fix alot of problems.

Good luck!
Microsoft. When do you want a virus today?
Account Not Used
Frequent Advisor

Re: NFS Problem.

All the suggestions were very good ones. I would only add that make sure you have all latest NFS patches to prevent stale NFS mounts when rebooting a server. The NFS daemosn should start on boot. Good luck. NFS is always fun.
"Who moved my cheese?"