Highlighted
fgast
1 Copper

NFS client access overview on Celerra

Hi there,

I am trying to find a way (maybe with server_stats, or something else) to get an overview of a specified NFS-share on a datamover, which give me a list of all clients accessing it.

With "server_stats server_4 -i 10 -m nfs.client -c 5 -te no"  i am just get a list of Top20-Clients accessing the specified data mover.

- Is it possible to get a list of Clients accessing a nfs-share?

or

- Is it possible to get a list of ALL Clients accessing the Datamover, not only Top 20 as nfs.client do?

We need this as the costumer would like to see whether a nfs-share/filesystem is still used by any client.

Dart = 6.0.70-4

Thank you very much for any help.

0 Kudos
8 Replies
fgast
1 Copper

Re: Celerra Filesystem Performance with server_stats

I found a similar question, unfortunately without an answer :   

https://community.emc.com/message/550801#550801

Any help is appreciated.

Best, Felix

0 Kudos
fgast
1 Copper

Re: NFS client access overview on Celerra

Hi there,

that is a pity, nobody has an advice!

Sorry for writing again, but maybe anybody has a good manual or tutorial for server_stats? I could try on my own.

Thanks again.

0 Kudos

Re: NFS client access overview on Celerra

You could use netstat to do it... But that is the datamover as a whole,  not an specific export..

0 Kudos
Rainer_EMC
5 Osmium

Re: NFS client access overview on Celerra

Why not use „nfsstat –d“ ?

0 Kudos
fgast
1 Copper

Re: NFS client access overview on Celerra

Hello, thank you very much for your help.

Actually I found something. I tried:

[nasadmin@nas01 ~]$ server_stats server_2 -m fs.qtree.ALL-ELEMENTS.totalCalls,nfs.client -i 10 -c 3  -te no

I like the output, but I not sure if this really show me all the current access to a nfs share!?

With "netstat -d" i unfortunately do not see which filesystem / nfs-share is accessed.

0 Kudos
Rainer_EMC
5 Osmium

Re: NFS client access overview on Celerra

If you want to see what is currently being accessed then server_stats can do that.

It will NOT display clients that have the share mounted but aren’t doing NFS IO at the time server_stats is run.

nfsstat will show you that if you use the correct command and options – since it shows which clients have mounted.

These are two very different things – mount vs. access

No – netstat is not the same command as nfsstat

0 Kudos
fgast
1 Copper

Re: NFS client access overview on Celerra

Dear Rainer,

thanks a lot for your reply. Unfortunately nfsstat longer exits. So I have to use server_stats:

[adm@nas01 ~]$ server_nfsstat

Info 26306752351: This command has been deprecated and replaced with server_stats command.

I tried now this:

server_stats server_2 -m fs.qtree.ALL-ELEMENTS.totalCalls -m nfs.client -lines 256 -i 60 -c 1440 -te no -file "/home/nasadmin/server_stats/server_2_`date '+\%FT\%T'|sed s/://g`" > /dev/null&

I think it is ok. Still don't know if the connection between "fs.qtree.ALL-ELEMENTS.totalCalls" and "nfs.client" gives a true result of a host accessing to share/qtree. But it looks ok.

I am not looking for the mounts of a share. I just looking which client is still using / accessing it.

0 Kudos
Rainer_EMC
5 Osmium

Re: NFS client access overview on Celerra

Sorry I meant showmount

That's available on all NFS systems I know

You don't even have to run it from the VNX

You can use any client - it just queries the VNX mountd

Rainer

0 Kudos