|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Start-NaDiskZeroSpare
NAME
Start-NaDiskZeroSpare
SYNOPSIS
Set up all non-zeroed spares owned by the filer to start zeroing.
SYNTAX
Start-NaDiskZeroSpare [-Controller <NaController>] [-WhatIf] [-Confirm] [<Co
mmonParameters>]
DESCRIPTION
Set up all non-zeroed spares owned by the filer to start zeroing. This oper
ation is asynchronous, and therefore returns no errors that might occur when
the zeroing operation actually starts, which could be several seconds after
this API operation completes.
Zeroing progress can be monitored via the "Get-NaDisk" API. The "zeroing-pe
rcent" element is returned if disk zeroing has started, and "is-zeroed" retu
rns TRUE once the zeroing has completed (or, if zeroing wasn't necessary in
the first place).
PARAMETERS
-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
NOTES
Category: disk
API: disk-zero-spares
-------------- Example 1 --------------
C:\PS>Start-NaDiskZeroSpare
Begin zeroing all non-zeroed spares on the current controller.
RELATED LINKS
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|