|
|
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 [-Name] <String> [-Controller <NaController>] [-Warnin
gAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
Get-NaSnapshotReserve [-Name] <String> -Aggregate [-Controller <NaController
>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonP
arameters>]
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
-Name <String>
Volume/aggregate to get percentage of space reserved for snapshots.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Aggregate
Specify to get reserved space for aggregate(s). By default, this cmdlet
works on volumes.
Required? true
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
System.Collections.Hashtable
NOTES
Category: snapshot
API: snapshot-get-reserve, system-cli
-------------- Example 1 --------------
C:\PS>Get-NaSnapshotReserve vol0
Get the snapshot reserve info for volume 'vol0'.
Percentage Size Volume
---------- ---- ------
20 23139942400 vol0
-------------- Example 2 --------------
C:\PS>Get-NaSnapshotReserve aggr0 -Aggregate
Get reserved space on aggregate 'aggr0'.
Name Value
---- -----
Name aggr0
Percentage 5
Size 6416314368
RELATED LINKS
Set-NaSnapshotReserve
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|