NetApp Most Commonly Used Commands
man (man pages)
Browses through man(ual) pages of command documentation
sysconfig (-a, -r, -c, -t, -m)
Shows information about filer (hardware, disks, aggregates & RAID groups, ...)
options
Queries or changes values for various “registry” options setup. Walks through initial setup questions: filer name, IP addresses, etc., but does not erase any data
cifs setup
Walks through CIFS setup questions: domain/workgroup membership etc.
sysstat -x -s 1
Prints out all-round performance statistics
license
Adds/removes/prints licenses on filer
version (-b)
Prints out Data ONTAP & Diagnostics/Firmware version numbers
rdfile
Reads a text file and prints contents to console (Unix “cat”)
wrfile
Reads from console and sends output to text file (Unix “Cat >”)
snap (restore)
Performs snapshot operations, eg. restore from snapshot snapvault
snapmirror
Manipulates/controls SnapMirror/SnapVault/OSSV operations from the command-line
cf
Controls clustering, eg. enabling/disabling, forcing takeover & giveback
aggr
Creates/expands/destroys/manipulates aggregates, eg. change options
vol
Create/resizes/destroys/manipulates volumes, eg. change options
df
Shows free disk space (volumes, aggregates, also inodes)
qtree
Creates/manipulates qtrees (=special directories)
vif
Creates/destroys/manipulates virtual network interfaces (eg.team interfaces for failover or load-balancing)
ifconfig
Sets network IP configuration (put in /etc/rc to survive reboots)
ifstat
Shows network interface statistics
netdiag
Performs basic network diagnostic testing
ndmpd
ndmpcopy
Manipulates NDMP settings, or use ndmpcopy to copy files via NDMP
priv set
priv set advanced
priv set diag
Goes into advanced/diagnostics mode
No comments:
Post a Comment