Skip to main content

Commands for displaying space usage information

Contributors netapp-aaron-holt netapp-lenida netapp-aherbin

You use the storage aggregate and volume commands to see how space is being used in your aggregates and volumes and their snapshots.

Beginning with ONTAP 9.18.1, the storage aggregate show-space command changes how Logical Referenced Capacity and Logical Unreferenced Capacity is reported. Logical Referenced Capacity reports referenced blocks in all objects and unreferenced blocks in fragmented objects. Logical Unreferenced Capacity reports only unreferenced blocks in objects that have crossed the fullness threshold and are eligible for object deletion and defragmentation.

For example, when you use the default aggregate fullness threshold of 40% for ONTAP S3 and StorageGRID, 60% of the blocks in an object must be unreferenced before the blocks are reported as unreferenced capacity.

In releases earlier than ONTAP 9.18.1, Logical Referenced Capacity reports referenced blocks in all objects (both full and fragmented objects). Logical Unreferenced Capacity reports unreferenced blocks in all objects.

To display information about…​ Use this command…​

Aggregates, including details about used and available space percentages, snapshot reserve size, and other space usage information

storage aggregate show

storage aggregate show-space -fields snap-size-total,used-including-snapshot-reserve

How disks and RAID groups are used in an aggregate, and RAID status

storage aggregate show-status

The amount of disk space that would be reclaimed if you deleted a specific snapshot

volume snapshot compute-reclaimable (advanced)

The amount of space used by a volume

volume show -fields size,used,available,percent-used

volume show-space

The amount of space used by a volume in the containing aggregate

volume show-footprint