Why does 'iostat -n' reports incorrect NFS client stats ?

Solution Verified - Updated -

Issue

  • Why does 'iostat -n' reports incorrect  NFS client stats ?
  • While copying a file from nfs mount to local disk , iostat -n shows exactly the same values for rops/s and wops/s . Ideally, wops/s should be zero and rops/s should report the actual reads. 

Output of ' iostat -kxn 2 | x.x.x.x ' , where x.x.x.x is the IP address of NFS server :

Device:         rkB_nor/s    wkB_nor/s    rkB_dir/s    wkB_dir/s    rkB_svr/s    wkB_svr/s    rops/s    wops/s
x.x.x.x:/test   0.00          0.00             0.00     0.00           0.00        0.00       0.42        0.42
x.x.x.x:/test   0.00          0.00             0.00     0.00           0.00        0.00       1.27        1.27

Environment

  • Red Hat Enterprise Linux 5
  • sysstat-7.0.2-3.el5_5 or lower versions.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.