|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaSnapshotReserve
NAME
Set-NaSnapshotReserve
SYNOPSIS
Sets the size of the snapshot reserve to the specified percentage on the ind
icated volume/aggregate.
SYNTAX
Set-NaSnapshotReserve [-Name] <String> [-Percentage] <Int32> [-Controller <N
aController>] [-WarningAction <ActionPreference>] [-WarningVariable <String>
] [<CommonParameters>]
Set-NaSnapshotReserve [-Name] <String> [-Percentage] <Int32> -Aggregate [-Co
ntroller <NaController>] [-WarningAction <ActionPreference>] [-WarningVariab
le <String>] [<CommonParameters>]
DESCRIPTION
Sets the size of the snapshot reserve to the specified percentage on the ind
icated volume/aggregate. Reserve space can be used only by snapshots and no
t by the active file system.
PARAMETERS
-Name <String>
Name of volume/aggregate on which to set the snapshot space reserve.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Percentage <Int32>
Percentage to set. Range [0-100].
Required? true
Position? 2
Default value
Accept pipeline input? true (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 set 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
NetApp.Ontapi.Filer.Volume.VolumeInfo
NOTES
Category: snapshot
API: snapshot-set-reserve, system-cli
-------------- Example 1 --------------
C:\PS>Set-NaSnapshotReserve vol0 10 | Get-NaSnapshotReserve
Set the snapshot reserve on volume 'vol0' to 10% and print the result.
Percentage Size Volume
---------- ---- ------
10 11569971200 vol0
RELATED LINKS
Get-NaSnapshotReserve
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|