This is an old revision of the document!
NETAPP
CLI (External Link):
NETWORK:
network interface show network interface show -lif filer01-svm02_nfs_lif1 -instance # to check specific lif status network interface show -fields ? to customize the output. show -fields vserver,address,status-admin network port show filer01::network port> show -fields node,port,mac,mtu,mtu-admin,speed-oper,ifgrp-port,broadcast-domain,link network port ifgrp show # for lacp ports
STORAGE STUFF:
NETAPP SWITCHES:
(from filer): network device-discovery show -node filer01-04 -protocol cdp show port-channel 3/1
SW UPGRADES:
External Link. Firmware is called FASTPATH, sometimes additional software called RCF is required
dir ! fto see the file system show bootvar ! to see the images availables in flash show port all | include Up show port-channel 3/1
SYSLOG:
event log show -severity EMERGENCY
CLUSTER/NODE HEALTH:
cluster show cluster show -instance storage failover show cluster image show-update-progress \\
lif migration, pool exhaustion, locks:
# diagnostics filer01::*> set d -c off;statistics show -object nfsv4_diag -instance nfs4_diag -counter storePool* -rawshow -object nfsv4_diag -instance nfs4_diag -counter storePool* -raw filer01::*> set d -c off;statistics filer01::> volume show -vserver filer01-svm01 -volume homegrapeshot -fields policy
STORAGE STUFF:
CLI COMMANDS (cheat sheet)
(We have heads, adapters and shelves)
SIS (single instance storage)
sis config ←- show you the status of the settings.
VOLUMES
aggr show_space -h ←- check aggregate space
sysstat -m 1 ←- To see how busy the box is
volume show -vserver filer01-svm01 -volume homegrapeshot -fields policy
GENERAL DISK
disk show -v
vol status
storage show disk -p
options
sysconfig [-acr]
aggr status
NFS
exportfs
config dump -v config_file
system node service-processor show
LUN/iSCSI
lun show -m
aggr options myAggr snapshot_autodelete off ←- to disable the automatic snapshot deletion (USE WITH CARE)
Aggregate snapshot commands
rdfile /var/log /etc/log(s) ←- To check the logs locally
rdfile /etc/messages ←- rdfile in genereal to show any OS file
# diagnostics filer01::*> set d -c off;statistics show -object nfsv4_diag -instance nfs4_diag -counter storePool* -rawshow -object nfsv4_diag -instance nfs4_diag -counter storePool* -raw filer01::*> set d -c off;statistics filer01::> volume show -vserver filer01-svm01 -volume homegrapeshot -fields policy
ifconfig -a
storage show adapter ←-version and similar information