|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaReallocateSchedule
NAME
Set-NaReallocateSchedule
SYNOPSIS
Set a schedule for a reallocation job.
SYNTAX
Set-NaReallocateSchedule [-Path] <String> [-Schedule] <String> [-Controller
<NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set a schedule for a reallocation job.
PARAMETERS
-Path <String>
Path to large file or LUN to reallocate, starting with /vol/.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Schedule <String>
Reallocation schedule, in format "<min> <hour> <dom> <dow>", where each
field is either a number, a comma-separated range of numbers, or "*", in
dicating all values.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
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
NetApp.Ontapi.Filer.Reallocate73.ReallocateJobInfo
NOTES
Category: reallocate
API: reallocate-set-schedule
-------------- Example 1 --------------
C:\PS>Set-NaReallocateSchedule /vol/vol0 -Schedule "0 * * *"
Set the reallocation job on volume 'vol0' to run once at the start of every
hour.
Flags : whole_vol,maybe_realloc,repeat
Interval : n/a
IntervalTS :
LayoutFactor : 2
MeasureLogfile : n/a
MeasureOnly : False
Path : /vol/vol0
ScanDetail : Inode 473242, block 0 of 1 (0%)
Schedule : 0 * * *
State : Reallocating
Threshold : 1
ThresholdSpecified : True
RELATED LINKS
Get-NaReallocateJobs
Remove-NaReallocateSchedule
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|