I have spent a lot of time working with NetApp NAS filers these last weeks. Here are the 10 commands that I estimate useful to learn and remember to check your filer's configuration. These commands are not meant to configure your filer NetApp, but just to check that everything is up and running. For information on how to configure NetApp, please refer to this other post.
- sysconfig : shows hardware configuration. It can be used to check for hardware configuration errors by adding the -c switch: sysconfig -c
- version : displays Data OnTap version information
- uptime : displays the system uptime id days, hours, minutes. It also shows the number of NFS, CIFS, HTTP, FCP and iSCSI operations
- df -A -h : displays aggregate usage in human-readable format. The total capacity is whosn as well as used and available gigabytes.
- aggr status -i : displays aggregate and volumes contained in each aggregate and their status
- df -h : this well know command displays volume usage in human-readable format
- df -i : displays inode utilization (iused, ifree and %iused) per volume
- qtree status : show a list a volumes and qtrees, their status and their style (unix, ntfs)
- qtree stats : displays qtree statistics, ie NFS and CIFS ops per qtree
- /etc/quotas : this file stores the configuration of all the qtrees in the filer volumes. It can be used to see the qtrees quotas: cat /etc/quotas.
I hope this helps!