Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcSnapshotReserve


NAME
Get-NcSnapshotReserve

SYNOPSIS
Gets the percentage of disk space that is reserved for snapshots.

SYNTAX
Get-NcSnapshotReserve [[-Volume] <String>] [-Controller <NcController[]>] [<
CommonParameters>]


DESCRIPTION
Gets the percentage of disk space that is reserved for snapshots in the indi
cated volume. If no volume is specified, this will return the percentage of
disk space reserved for snapshots for each of the volumes in the system. R
eserve space can be used only by snapshots and not by the active file system
.


PARAMETERS
-Volume <String>
Volume to query for percentage of space reserved for snapshots.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.C.Types.Snapshot.SnapshotReserveDetailInfo


NOTES


Category: snapshot
API: snapshot-reserve-list-info
Family: cluster, vserver

-------------- Example 1 --------------

C:\PS>Get-NcSnapshotReserve


Get the snapshot reserve for all volumes.


Volume Vserver Size Percentage
------ ------- ---- ----------
bigvol vserver1 5.0 GB 5%
georgeVol1 vserver1 1.0 MB 5%
vol1 vserver1 1.0 GB 5%
vol2 vserver1 563.2 MB 5%
vol2clone vserver1 563.2 MB 5%
vol_test vserver1 1.0 MB 5%
vserver1vol0 vserver1 1.0 MB 5%



RELATED LINKS
Set-NcSnapshotReserve







 Data ONTAP® PowerShell Toolkit