|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaDiskUnfail
NAME
Set-NaDiskUnfail
SYNOPSIS
Unfail a disk in the broken pool.
SYNTAX
Set-NaDiskUnfail [-Name] <String> [-MakeSpare] [-Controller <NaController>]
[-WhatIf] [-Confirm] [<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 the 'MakeSpa
re' option is set, the disk is returned to the spare pool. Otherwise, label
assimilation will bring the disk back according to its on-disk labels, with
one of 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>
Name of the disk, e.g. "v0.1".
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-MakeSpare
Specify 'true' to force the disk to become a spare upon unfail. Default
value is 'false'.
Required? false
Position? named
Default value false
Accept pipeline input? false
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.Disk.DiskDetailInfo
NOTES
Category: disk
API: disk-unfail
-------------- Example 1 --------------
C:\PS>Set-NaDiskUnfail 0a.22
Unfail disk '0a.22'.
Aggregate :
Bay : 6
BlocksRead : 32216
BlocksWritten : 184
BrokenDetails :
BytesPerSector : 520
ChecksumCompatibility : zoned/block
CopyDestination :
CopyPercent :
DiskModel : X274_S10K7146F10
DiskType : FCAL
DiskUid : 20000018:62848633:00000000:00000000:0000000
0:00000000:00000000:00000000:00000000:00000000
FirmwareRevision : NA07
GrownDefectListCount : 0
HostAdapter : 0a
Id : 1703939
IsDynamicallyQualified : False
IsOffline :
IsPrefailed :
IsReplacing :
IsZeroed : False
Name : 0a.22
PhysicalBlocks : 280790184
PhysicalSpace : 143764574208
Plex :
Pool : Pool0
Port : A
PortName : FC:A
PoweronHours : 23109
PoweronHoursTS : 962.21:00:00
RaidGroup :
RaidState : spare
RaidType : pending
RawDiskSectors : 280790184
ReconstructionPercent :
Rpm : 10000
ScrubCount : 22
ScrubLastDone : 101512
ScrubLastDoneTS : 70.11:52:00
SecondaryName :
SecondaryPort :
SerialNumber : 3KS66XHN00009732MQN9
Shelf : 1
ShmTimeInterval : 3427265
ShmTimeIntervalTS : 39.16:01:05
UsedBlocks : 278528000
UsedSpace : 142606336000
VSeriesDetailInfo :
VendorId : NETAPP
Volume :
ZeroingPercent :
CopyPercentSpecified : False
IsOfflineSpecified : False
IsPrefailedSpecified : False
IsReplacingSpecified : False
IsZeroedSpecified : True
PoweronHoursSpecified : True
ReconstructionPercentSpecified : False
RpmSpecified : True
ZeroingPercentSpecified : False
RELATED LINKS
Set-NaDiskFail
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|