|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NcDiskUnfail
NAME
Set-NcDiskUnfail
SYNOPSIS
Unfail a disk in the broken pool.
SYNTAX
Set-NcDiskUnfail [-Name] <String> [-MakeSpare] [-Controller <NcController[]>
] [<CommonParameters>]
DESCRIPTION
Unfail a disk in the broken pool, by clearing its FDR (Failed Disk Registry)
entry and unfailing it at the Storage Layer, as necessary. If -MakeSpare i
s specified, the disk is returned to the spare pool. Otherwise, label assim
ilation will bring the disk back according to its on-disk labels, with one o
f four possible outcomes.
1. Disk becomes a spare. This is the common case. The disk becomes a spare
upon unfail, because its parent volume is complete and online.
2. Disk is assimilated into former volume. This is a recovery scenario. Th
e disk is brought back into an existing volume, which may result in this vol
ume coming back online.
3. Disk is assimilated into a new partial volume. This may occur in the rar
e case that the disk's former volume was destroyed or moved.
4. Disk returned to broken pool. This is the case if a fatal error occurs i
n process of unfailing the disk.
PARAMETERS
-Name <String>
The name of the spare disk to unfail. The disk name should use the form
at "<Node Name>:<Disk Name>", such as "VxeRubble-01:1a.02.23".
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-MakeSpare
Specify to force the disk to become a spare.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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.C.Types.StorageDisk.StorageDiskInfo
NOTES
Category: disk
API: disk-unfail
Family: cluster
-------------- Example 1 --------------
C:\PS>Set-NcDiskUnfail fas3070cluster01-01:0a.27
Unfail the disk '0a.27' on node 'fas3070cluster01-01'.
DiskName : fas3070cluster01-01:0a.27
NcController : 10.61.172.155
Name : fas3070cluster01-01:0a.27
DiskInventoryInfo : DataONTAP.C.Types.StorageDisk.DiskInventoryInfo
DiskOwnershipInfo : DataONTAP.C.Types.StorageDisk.DiskOwnershipInfo
DiskPaths : {fas3070cluster01-02:0a.27, fas3070cluster01-01:0a.27}
DiskRaidInfo : DataONTAP.C.Types.StorageDisk.DiskRaidInfo
DiskStatsInfo : DataONTAP.C.Types.StorageDisk.DiskStatsInfo
DiskUid : 20000018:6232DB31:00000000:00000000:00000000:00000000:00
000000:00000000:00000000:00000000
Bay :
Shelf :
Position : present
Capacity : 146010895680
RPM : 15000
Paths : 2
Pool : 0
FW : NA02
Model : X275_S15K4146F15
Aggregate :
RELATED LINKS
Set-NcDiskFail
Remove-NcDisk
Get-NcDisk
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|