Total Pageviews

Wednesday 26 February 2014

NetApp Command..!!

ü  sysconfig -a : shows hardware configuration with more verbose information
ü  sysconfig -d : shows information of the disk attached to the filer
ü  version : shows the netapp Ontap OS version.
ü  uptime : shows the filer uptime
ü  dns info : this shows the dns resolvers, the no of hits and misses and other info
ü  nis info : this shows the nis domain name, yp servers etc.
ü  rdfile : Like “cat” in Linux, used to read contents of text files/
ü  wrfile : Creates/Overwrites a file. Similar to “cat > filename” in Linux
ü  aggr status : Shows the aggregate status
ü  aggr status -r : Shows the raid configuration, reconstruction information of the disks in filer
ü  aggr show_space : Shows the disk usage of the aggreate, WAFL reserve, overheads etc.
ü  vol status : Shows the volume information
ü  vol status -s : Displays the spare disks on the filer
ü  vol status -f : Displays the failed disks on the filer
ü  vol status -r : Shows the raid configuration, reconstruction information of the disks
ü  df -h : Displays volume disk usage
ü  df -i : Shows the inode counts of all the volumes
ü  df -Ah : Shows “df” information of the aggregate
ü  license : Displays/add/removes license on a netapp filer
ü  maxfiles : Displays and adds more inodes to a volume
ü  aggr create : Creates aggregate
ü  vol create : Creates volume in an aggregate
ü  vol offline : Offlines a volume
ü  vol online : Onlines a volume
ü  vol destroy : Destroys and removes an volume
ü  vol size [+|-] : Resize a volume in netapp filer
ü  vol options : Displays/Changes volume options in a netapp filer
ü  qtree create : Creates qtree
ü  qtree status : Displays the status of qtrees
ü  quota on : Enables quota on a netapp filer
ü  quota off : Disables quota
ü  quota resize : Resizes quota
ü  quota report : Reports the quota and usage
ü  snap list : Displays all snapshots on a volume
ü  snap create : Create snapshot
ü  snap sched : Schedule snapshot creation
ü  snap reserve : Display/set snapshot reserve space in volume
ü  /etc/exports : File that manages the NFS exports
ü  rdfile /etc/exports : Read the NFS exports file
ü  wrfile /etc/exports : Write to NFS exports file
ü  exportfs -a : Exports all the filesystems listed in /etc/exports
ü  cifs setup : Setup cifs
ü  cifs shares : Create/displays cifs shares
ü  cifs access : Changes access of cifs shares
ü  lun create : Creates iscsi or fcp luns on a netapp filer
ü  lun map : Maps lun to an igroup
ü  lun show : Show all the luns on a filer
ü  igroup create : Creates netapp igroup
ü  lun stats : Show lun I/O statistics
ü  disk show : Shows all the disk on the filer
ü  disk zero spares : Zeros the spare disks
ü  disk_fw_update : Upgrades the disk firmware on all disks
ü  options : Display/Set options on netapp filer
ü  options nfs : Display/Set NFS options
ü  options timed : Display/Set NTP options on netapp.
ü  options autosupport : Display/Set autosupport options
ü  options cifs : Display/Set cifs options
ü  options tcp : Display/Set TCP options
ü  options net : Display/Set network options
ü  ndmpcopy : Initiates ndmpcopy
ü  ndmpd status : Displays status of ndmpd
ü  ndmpd killall : Terminates all the ndmpd processes.
ü  ifconfig : Displays/Sets IP address on a network/vif interface
ü  vif create : Creates a VIF (bonding/trunking/teaming)
ü  vif status : Displays status of a vif
ü  netstat : Displays network statistics
ü  sysstat -us 1 : begins a 1 second sample of the filer’s current utilization (crtl – c to end)
ü  nfsstat : Shows nfs statistics
ü  nfsstat -l : Displays nfs stats per client
ü  nfs_hist : Displays nfs historgram
ü  statit : beings/ends a performance workload sampling [-b starts / -e ends]
ü  stats : Displays stats for every counter on netapp. Read stats man page for more info
ü  ifstat : Displays Network interface stats
ü  qtree stats : displays I/O stats of qtree
ü  environment : display environment status on shelves and chassis of the filer
ü  storage show <disk|shelf|adapter> : Shows storage component details
ü  snapmirror intialize : Initialize a snapmirror relation
ü  snapmirror update : Manually Update snapmirror relation
ü  snapmirror resync : Resyns a broken snapmirror
ü  snapmirror quiesce : Quiesces a snapmirror bond
ü  snapmirror break : Breakes a snapmirror relation
ü  snapmirror abort : Abort a running snapmirror
ü  snapmirror status : Shows snapmirror status
ü  lock status -h : Displays locks held by filer
ü  sm_mon : Manage the locks
ü  storage download shelf : Installs the shelf firmware
ü  software get : Download the Netapp OS software
ü  software install : Installs OS
ü  download : Updates the installed OS
ü  cf status : Displays cluster status
ü  cf takeover : Takes over the cluster partner
ü  cf giveback : Gives back control to the cluster partner
ü  reboot : Reboots a filer


No comments:

Post a Comment