ONTAP 9 Manuals ( CA08871-402 )

ONTAP commands for managing disks

You can use the storage disk and storage aggregate commands to manage your disks.

Prior to ONTAP 9.7, System Manager uses the term aggregate to describe a local tier. Regardless of your ONTAP version, the ONTAP CLI uses the term aggregate. To learn more about local tiers, see Disks and local tiers.

If you want to…​

Use this command…​

Display a list of spare disks, including partitioned disks, by owner

storage aggregate show-spare-disks

Display the disk RAID type, current usage, and RAID group by local tier

storage aggregate show-status

Display the RAID type, current usage, local tier, and RAID group, including spares, for physical disks

storage disk show -raid

Display a list of failed disks

storage disk show -broken

Display the pre-cluster (nodescope) drive name for a disk

storage disk show -primary-paths (advanced)

Illuminate the LED for a particular disk or shelf

storage disk set-led

Display the checksum type for a specific disk

storage disk show -fields checksum-compatibility

Display the checksum type for all spare disks

storage disk show -fields checksum-compatibility -container-type spare

Display disk connectivity and placement information

storage disk show -fields disk,primary-port,secondary-name,secondary-port,shelf,bay

Display the pre-cluster disk names for specific disks

storage disk show -disk diskname -fields diskpathnames

Display the list of disks in the maintenance center

storage disk show -maintenance

Display SSD wear life

storage disk show -ssd-wear

Unpartition a shared disk

storage disk unpartition (available at diagnostic level)

Zero all non-zeroed disks

storage disk zerospares

Stop an ongoing sanitization process on one or more specified disks

system node run -node nodename -command disk sanitize

Display storage encryption disk information

storage encryption disk show

Retrieve authentication keys from all linked key management servers

security key-manager restore

Related information
Top of Page