Skip to Content
Managing NFS and NIS, 2nd Edition
book

Managing NFS and NIS, 2nd Edition

by Mike Eisler, Ricardo Labiaga, Hal Stern
July 2001
Beginner
510 pages
15h 30m
English
O'Reilly Media, Inc.
Content preview from Managing NFS and NIS, 2nd Edition

Appendix B. NFS Problem Diagnosis

Throughout this book, we’ve used the output of nfsstat on both NFS clients and servers to locate performance bottlenecks or inefficient NFS architectures. The first two sections in this appendix summarize symptoms of problems identified from the output of nfsstat. The last list contains typical values for the error variable errno that may be returned by file operations on NFS-mounted filesystems.

NFS server problems

Check the output of nfsstat -s for the following problems:

badcalls > 0

RPC requests are being rejected out of hand by the NFS server. This could indicate authentication problems caused by having a user in too many groups, attempts to access exported filesystems as root, or an improper Secure RPC configuration.

badlen > 0 or xdrcall > 0

This indicates a malformed NFS request, detected by RPC or XDR protocol decoding on the server. This can be caused by bugs in the client or server, or by physical network problems.

dupreqs > 0

The duplicate request cache keeps a record of previously executed NFS requests. The dupchecks counter tracks the number of times this cache was consulted, or checked. The dupreqs counter tracks the number of times a check of the cache had a “hit.” In other words, dupreqs counts the number of times the NFS server received a previously executed request. For connection-oriented (TCP) requests, a high ratio of dupreqs to dupchecks is 0.01%. For connectionless (UDP) requests, a high ratio of dupreqs to dupchecks is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Linux Network Administrator's Guide, Second Edition

Linux Network Administrator's Guide, Second Edition

Olaf Kirch, Terry Dawson
Perl for System Administration

Perl for System Administration

David N. Blank-Edelman
Practical Ansible 2

Practical Ansible 2

Daniel Oh, James Freeman, Fabio Alessandro Locati

Publisher Resources

ISBN: 1565925106Errata Page