Solved

nfsstat, what does getattr and

Posted on 2004-08-05
6
1,350 Views
Last Modified: 2013-12-15
when typing nfsstat on a linux machine that is connected to a NAS, what exactly do the two
values under
"getattr" and "access"

represent in the Client nfs v3 output
0
Comment
Question by:xeon999
  • 2
  • 2
6 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 125 total points
ID: 11742030
getattr: Number of attribute requests
access: Number of requests
0
 

Author Comment

by:xeon999
ID: 11745000
are the attribute requests analogous to doing an lsattr on a file?
or are they attributes like file size, last mod date, etc..
reason i ask is i didn't think lsattr even applies for NFS.
when i try to do an lsattr on file on the nas i get:
"lsattr: Inappropriate ioctl for device While reading flags on spa.log"

so which exact "attributes" are being looked at on these
NFS mounted files?

thnx for the help!
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11745609
AFAIK it's lstat()
0
 

Author Comment

by:xeon999
ID: 11747797
cool, thnx.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question