This is an old revision of the document!
NETAPP
To see the ontap netapp version, just type version
ifconfig -a storage show disk <--to show the disk and the filer that 'owns' them
LOGS (needs to be via gui or in cli privilege mode):
CLI (External Link):
STORAGE STUFF:
event log show -severity EMERGENCY # 'syslog' events
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
vserver export-policy rule show # under 'Client Match' column is the IPs os the servers mounted 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
NETWORK STUFF:
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
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