ONTAP 9.13.1 commands

volume snapshot compute-reclaimable

Calculate the reclaimable space if specified snapshots are deleted

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The volume snapshot compute-reclaimable command calculates the volume space that can be reclaimed if one or more specified Snapshot copies are deleted.

The command heavily uses system’s computational resources so it can reduce the performance for client requests and other system processes. Therefore, the queries that use queries that use query operators (* , | , etc.), are disabled for this command. You should not specify more than three Snapshot copies per query. Snapshot copies must be specified as a comma-separated list with no spaces after the commas.

Parameters

-vserver <vserver name> - Vserver Name

This specifies the Vserver on which the volume is located.

-volume <volume name> - Volume Name

This specifies the volume for which reclaimable space is to be calculated.

-snapshots <snapshot name>,…​ - List of Snapshots

This specifies one or more than one Snapshot copies that are to be considered for deletion. If you list more than one Snapshot copy, specify a comma-separated list with no spaces after the commas.

Examples

The following example calculates the space that can be reclaimed if the Snapshot copy named hourly.2008-01-10_1505 is deleted on a volume named vol3, which is a part of the Vserver named vs0:

cluster1::> volume snapshot compute-reclaimable -vserver vs0
-volume vol3 -snapshots hourly.2008-01-10_1505
Top of Page