Network and Storage Protocols
Network and Storage Protocols
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!
Solved! See The Solution
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
-dave w
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
-dave w
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