List hosts mounting NFS exports

10,497 views
Skip to first unread message

Gumar K

unread,
Nov 4, 2013, 12:02:22 PM11/4/13
to isilon-u...@googlegroups.com
Guys,

How to get a list of all hosts that are mounting a NFS export from Isilon ? In celerra it is pretty simple we can use /usr/sbin/showmount -a DM command and that will give the info. What is the equivalent command in Isilon.

This command will show the count of all the connected and active clients, but how to get the hostname or IP address the clients.
# isi statistics query --nodes=all --stats=node.clientstats.connected.nfs,node.clientstats.active.nfs

This command will also shows the NFS clients, but I believe they are the active clients and not showing all NFS clients including inactive but NFS mounted clients.
# isi statistics client --nodes=all --protocols=nfs3

Also, Is it a best practice to delete the default /ifs NFS export from the cluster? Does it impact Insight_IQ servers? I have seen InsighIQ servers mounting the /ifs folder periodically while the FSAnalyze job is running. So if we delete the /ifs export will it still work ? The datastore on the IIQ servers are still local disks and not using Isilon datastore.

thanks,
G.K

Dan Pritts

unread,
Nov 4, 2013, 12:09:27 PM11/4/13
to isilon-u...@googlegroups.com
showmount is there on the isilon.

try:  isi_for_array showmount -a localhost


November 4, 2013 at 12:02 PM
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Dan Pritts
ICPSR Computing & Network Services
University of Michigan
+1 (734)615-7362

Gumar K

unread,
Nov 4, 2013, 2:24:16 PM11/4/13
to isilon-u...@googlegroups.com
Showmount works. Thanks Dan.
compose-unknown-contact.jpg

James Tibbs

unread,
Nov 7, 2013, 12:19:08 PM11/7/13
to isilon-u...@googlegroups.com
I just discovered this command: isi statistics client -d

It only seems to show "active connections".

FYI
Jim Tibbs


Jim Tibbs
Systems Engineer
Virginia Tech
NI&S Systems Support
Office: (540) 200-8325

Email: jti...@vt.edu
http://it.vt.edu
compose-unknown-contact.jpg

padmanabhaiah v

unread,
Nov 29, 2013, 1:02:38 AM11/29/13
to isilon-u...@googlegroups.com
Hello GK,

Use below command to find the remote address of all NFS3 client connections. 

#isi statistics client --nodes=all --protocols=nfs3 --orderby=remotename

Thanks, Paddy

Peter Serocka

unread,
Nov 29, 2013, 6:39:59 AM11/29/13
to isilon-u...@googlegroups.com

isi nfs client list 

-- Peter

--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Peter Serocka
CAS-MPG Partner Institute for Computational Biology (PICB)
Shanghai Institutes for Biological Sciences (SIBS)
Chinese Academy of Sciences (CAS)
320 Yue Yang Rd, Shanghai 200031, China





Daniel Cornel

unread,
Mar 14, 2014, 10:54:36 AM3/14/14
to isilon-u...@googlegroups.com
In 7.1 this has changed to isi nfs nlm sessions list. the equivelant in smb is isi smb sessions list.  This is PER NODE and does not account for the cluster as a whole.  I'd like to have that figure as well if anyone knows it.

Paddy.

unread,
Mar 14, 2014, 2:25:22 PM3/14/14
to isilon-u...@googlegroups.com

isi statistics query --nodes=all --stats=node.clientstats.active.nfs,node.clientstats.connected.nfs



--
You received this message because you are subscribed to a topic in the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/isilon-user-group/z0g-aZIvyqU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Cornel

unread,
Mar 14, 2014, 2:54:40 PM3/14/14
to isilon-u...@googlegroups.com

Thank you for this! I expanded it in search for all connected clients and cut off headers and footers

isi statistics query --nodes=all --nofooter --noheader --stats=node.clientstats.connected.cifs,node.clientstats.connected.ftp,node.clientstats.connected.hdfs,node.clientstats.connected.http,node.clientstats.connected.iscsi,node.clientstats.connected.ndmp,node.clientstats.connected.nfs,node.clientstats.connected.nlm,node.clientstats.connected.papi,node.clientstats.connected.siq,node.clientstats.connected.smb,

Blake Golliher

unread,
Mar 14, 2014, 3:01:01 PM3/14/14
to isilon-u...@googlegroups.com
I'm not convinced this will catch 100% of clients.  I the client mount by UDP, I think they will be missed unless they are constantly checking and the client does IO during one of your runs of this command.



For more options, visit https://groups.google.com/d/optout.

Daniel Cornel

unread,
Mar 14, 2014, 3:27:46 PM3/14/14
to isilon-u...@googlegroups.com

In doing an isi statistics list stats, I don’t see anything referencing udp.

Erik Weiman

unread,
Mar 14, 2014, 3:30:24 PM3/14/14
to isilon-u...@googlegroups.com
Does it show up in /var/db/mountdtab?

Jerry Uanino

unread,
Mar 15, 2014, 1:47:53 PM3/15/14
to isilon-u...@googlegroups.com
honestly to prevent being nixed by version changes..... netstat -an |grep ESTA | grep 2049 |wc -l

for the udp stuff,  i stuff I'd have to think harder.
but really.... why are you using udp anyway?
Reply all
Reply to author
Forward
0 new messages