Data ONTAP® PowerShell Toolkit

Cmdlet: Start-NaDiskReplace


NAME
Start-NaDiskReplace

SYNOPSIS
Initiate replacing a file system disk with an appropriate spare disk.

SYNTAX
Start-NaDiskReplace [-Name] <String> [-Replacement] <String> [-Force] [-Cont
roller <NaController>] [-WarningAction <ActionPreference>] [-WarningVariable
<String>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Initiate replacing a file system disk with an appropriate spare disk. Uses R
apid RAID Recovery to copy data from the source file system disk to the dest
ination spare disk. Roles of disks are reversed at the end of that process.
The spare disk will replace the file system disk in the RAID group and the
file system disk will become a spare. This process can be observed by poll
ing "Get-NaDisk" for this disk and tracking values of elements copy-destinat
ion and copy-percent.


PARAMETERS
-Name <String>
Name of the file system disk to replace.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Replacement <String>
Name of the spare disk to use as a replacement.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Force
Allow Replacement to come from the opposite spare pool. Also allow Repla
cement not matching rotational speed of majority of disks in the aggrega
te.

Required? false
Position? named
Default value
Accept pipeline input? false
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

-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.Disk.DiskDetailInfo


NOTES


Category: disk
API: disk-replace-start

-------------- Example 1 --------------

C:\PS>Start-NaDiskReplace 0a.28 0a.29


Replace disk '0a.28' with spare disk '0a.29'.






RELATED LINKS
Stop-NaDiskReplace







 Data ONTAP® PowerShell Toolkit