|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaSnapshotReserve
NAME
Get-NaSnapshotReserve
SYNOPSIS
Gets the percentage of disk space that is reserved for snapshots in the indi
cated volume or aggregate.
SYNTAX
Get-NaSnapshotReserve [-TargetName] <String> [-TargetType <String>] [-Aggreg
ate] [-Controller <NaController>] [<CommonParameters>]
DESCRIPTION
Gets the percentage of disk space that is reserved for snapshots in the indi
cated volume or aggregate. Reserve space can be used only by snapshots and n
ot by the active file system.
PARAMETERS
-TargetName <String>
Volume or aggregate for which to get percentage of space reserved for sn
apshots.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-TargetType <String>
Specify the type of snapshot target, either "volume" or "aggregate".
Required? false
Position? named
Default value volume
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Aggregate
DEPRECATED. Specify to get reserved space for aggregate(s). By default
, this cmdlet works on volumes.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
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.Types.Snapshot.ReserveInfo
NOTES
Category: snapshot
API: snapshot-get-reserve, system-cli
Privilege: security-priv-admin, cli-snap-reserve
-------------- Example 1 --------------
C:\PS>Get-NaSnapshotReserve vol0
Get the snapshot reserve info for volume 'vol0'.
Name Percentage Size
---- ---------- ----
vol0 10% 10.7 GB
-------------- Example 2 --------------
C:\PS>Get-NaSnapshotReserve aggr0 -TargetType aggregate
Get reserved space on aggregate 'aggr0'.
Name Percentage Size
---- ---------- ----
aggr0 5% 6.0 GB
RELATED LINKS
Set-NaSnapshotReserve
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|