Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Set-NaReallocateSchedule


NAME
Set-NaReallocateSchedule

SYNOPSIS
Set a schedule for a reallocation job.

SYNTAX
Set-NaReallocateSchedule [-Path] <String> [-Schedule] <String> [-Controller
<NaController>] [<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

<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.Reallocate.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







 Data ONTAP® PowerShell Toolkit