Network Storage Protocols Discussions

To list all connected clients(Window servers) ?

netappmagic

Are there any ways, by using any tools/software or any commands, to list all connected clients on the filer? these clients could be NAS/SAN connections.

Thanks for your advices!

1 ACCEPTED SOLUTION

DAVE_WITHERS

There are many CLI options for this. And many ways to skin this cat.  But below should get you pointed in the right direction.

CIFS for instance.  For the NFS and CIFS options, make sure you turn them back off after you are done using the commands to see clients as they do add minor overhead to your filer while collecting data.

option cifs.per_client_stats.enable on

and you can run cifs top to see clients

You may also be able to 'manage' your filer from a windows system to view connected clients via CIFS as well.

NFS

option nfs.per_client_stats.enable on

then run vfiler run vfiler0 nfsstat -z to clear your table, then vfiler run vfiler0 nfsstat -l to list NFS clients (of course your vfiler may not be 0)

for SAN, check out your iscsi and fcp commands below

http://wafl.co.uk/iscsi/

http://wafl.co.uk/fcp/

-dave w


View solution in original post

2 REPLIES 2

DAVE_WITHERS

There are many CLI options for this. And many ways to skin this cat.  But below should get you pointed in the right direction.

CIFS for instance.  For the NFS and CIFS options, make sure you turn them back off after you are done using the commands to see clients as they do add minor overhead to your filer while collecting data.

option cifs.per_client_stats.enable on

and you can run cifs top to see clients

You may also be able to 'manage' your filer from a windows system to view connected clients via CIFS as well.

NFS

option nfs.per_client_stats.enable on

then run vfiler run vfiler0 nfsstat -z to clear your table, then vfiler run vfiler0 nfsstat -l to list NFS clients (of course your vfiler may not be 0)

for SAN, check out your iscsi and fcp commands below

http://wafl.co.uk/iscsi/

http://wafl.co.uk/fcp/

-dave w


View solution in original post

cscott

Quick and dirty is a simple "netstat" for NAS connections

for CIFS, you could run "cifs sessions"

For SAN specific information

iscsi show initiator or iscsi initiator show(on newer ONTAP versions)

fcp show initiator

- Scott

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public