|
|
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>]
[-WarningAction <ActionPreference>] [-WarningVariable <String>] [-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 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-unfail
-------------- Example 1 --------------
C:\PS>Set-NaDiskUnfail 0a.28
Unfail disk '0a.28'.
Aggregate : aggr1
Bay : 12
BlocksRead : 281415544
BlocksWritten : 279805824
BrokenDetails :
BytesPerSector : 520
ChecksumCompatibility : zoned/block
CopyDestination :
CopyPercent :
DiskModel : X274_S10K7146F10
DiskType : FCAL
DiskUid : 20000018:6284A8D4:00000000:00000000:0000000
0:0
0000000:00000000:00000000:00000000:00000000
FirmwareRevision : NA07
GrownDefectListCount : 0
HostAdapter : 0a
Id : 1048577
IsDynamicallyQualified : False
IsOffline :
IsPrefailed : False
IsReplacing : False
IsZeroed :
Name : 0a.28
PhysicalBlocks : 280790184
PhysicalSpace : 143764574208
Plex : plex0
Pool : Pool0
Port : A
PortName : FC:A
PoweronHours : 18941
RaidGroup : rg0
RaidState : present
RaidType : data
RawDiskSectors : 280790184
ReconstructionPercent :
Rpm : 10000
ScrubCount : 28
ScrubLastDone : 49493
SecondaryName :
SecondaryPort :
SerialNumber : 3KS66RDP000097324ASA
Shelf : 1
ShmTimeInterval : 5190035
UsedBlocks : 278528000
UsedSpace : 142606336000
VSeriesDetailInfo :
VendorId : NETAPP
Volume :
ZeroingPercent :
CopyPercentSpecified : False
IsOfflineSpecified : False
IsPrefailedSpecified : True
IsReplacingSpecified : True
IsZeroedSpecified : False
PoweronHoursSpecified : True
ReconstructionPercentSpecified : False
RpmSpecified : True
ZeroingPercentSpecified : False
RELATED LINKS
Set-NaDiskFail
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|