Skip to main content

Commands for managing disks

Contributors netapp-thomi

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

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 aggregate

storage aggregate show-status

Display the RAID type, current usage, aggregate, 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

ONTAP 9 Commands