NetAPP Commands – Reference Guide

Share Tweet Share Pin it

If you are a beginner for learning netapp administration, then probably you need to keep lot of commands in mind. These commands helps in when managing, monitoring, and  troubleshooting a Netapp filer.

General Commands

  •  setup (Re-Run initial setup)
  •  halt (Reboots controller into bootrom)
  •  reboot (Reboots controller back to Data Ontap)
  •  sysconfig -a (System configuration and information)
  •  java netapp.cmds.jsh (limited freebsd cli)
  •  storage show disk (show physical information about disks)
  •  passwd (Change password for logged in user)
  •  sasadmin shelf (shows a graphical layout of your shelves with occupied disk slots)
  •  options trusted.hosts x.x.x.x or x.x.x.x/nn (hosts that are allowed telnet, http, https and ssh admin access. x.x.x.x = ip address, /nn is network bits)
  •  options trusted.hosts * (Allows all hosts to the above command)
  •  sysstat -s 5 (Displays operating statistics every 5 seconds i.e. CPU, NFS, CIFS, NET, DISK, etc)
  •  options autologout.console.enable on (Turns on autologout for the console)
  •  options autologout.console.timeout 300 (300 second autologout for the console)
  •  options autologout.telnet.enable on (Turns on autologout for telnet)
  •  options autologout.telnet.timeout 300 (300 second autologout for the console)


  •  Press DEL at boot up during memory test followed by boot_diags and select all (Diagnostic tests for a new install)
  •  priv set diags (Enter diagnostics CLI mode from the Ontap CLI)
  •  priv set (Return to normal CLI mode from diagnostics mode)


  •  software list (Lists software in the /etc/software directory)
  •  software get http://x.x.x.x/ (Copy software from http to software directory)
  •  software delete (Deletes software in the /etc/software directory)
  •  software update -r (Install software. The -r prevents it rebooting afterwards)

ACP (Alternate Control Path)

  •  options acp.enabled on (Turns on ACP)
  •  storage show acp -a (show ACP status)

Root Volume
The Root Volume can only be on a 32 bit aggregate if you want to create a 64 bit aggregate you must create a seperate aggregate.


  •  aggr create aggregate_name (Creates an Aggregate)
  •  aggr destroy aggregate_name (removes an Aggregate)
  •  aggr offline aggregate_name (takes an Aggregate offline)
  •  aggr online aggregate_name (bring an Aggregate online)
  •  aggr options aggregate_name root (makes an Aggregate root|Only use if your Root Aggregate is damanged)
  •  aggr status (shows status of all aggregates)
  •  aggr status aggregate_name (show status of a specific Aggregate)
  •  aggr status -r aggr0 (shows the root volume on aggr0 and the disk layout)
  •  aggr status -s aggr0 (shows spare disks on aggr0)
  •  aggr show_space aggregate_name (shows specific aggregate space information)
  •  aggr options aggregate_name nosnap=on (Disable snapshot autocreation)
  •  aggr options aggregate_name raidsize=x (x being the number of drives in the RAID)
  •  snap reserve -A aggregate_name 0 (Set Aggregate snap reserve to 0% or any number you enter)
  •  snap list -A aggregate_name (Lists snapshots on specified aggregate)
  •  snap delete -A aggregate_name (Deletes a snapshot on a specified aggregate)
  •  snap sched -A aggregate_name x x x@x,x,x (Creates a snapshot shedule in weeks days hours@time ie 0 2 1@9 means no weekly snaps, 2 daily, 1 hourly @ 9am)


  •  vol create volume_name (Creates a volume)
  •  vol autosize volume_name (Shows autosize settings for a given volume)
  •  vol autosize volume_name on|off (Turns Volume autosize on or off)
  •  vol options volume_name (Lists volume options)
  •  vol size volume_name + size k|m|g|t (increase volume size by KB, MB, GB or TB)
  •  vol status -f (lists broken or failed disks)
  •  vol scrub status -v (Shows the scrubbing status of volumes)
  •  vol options nosnapdir on|off (enables or disables snapshot visibility from the volume or LUN level)


  •  qtree create /vol/volume_name/qtree_name (Create a qtree within a volume)
  •  qtree security /vol/volume_name/qtree_name unix|ntfs|mixed (Change security settings of a qtree)
  •  qtree stats qtree_name (Shows CIFS or NFS ops/sec for a given qtree)
  •  qtree status (Displays all your Qtree’s)

Click here for more Netapp Commands

Related Blogs

  • Related Blogs on netapp Command

Leave a Reply

CommentLuv badge

This site uses Akismet to reduce spam. Learn how your comment data is processed.