Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Stop-NaDiskReplace


NAME
Stop-NaDiskReplace

SYNOPSIS
Abort disk replace.

SYNTAX
Stop-NaDiskReplace [-Name] <String> [-Controller <NaController>] [-WhatIf] [
-Confirm] [<CommonParameters>]


DESCRIPTION
Abort disk replace.


PARAMETERS
-Name <String>
Name of the file system disk being replaced.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
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-replace-stop

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

C:\PS>Stop-NaDiskReplace 0a.18


Abort the replacement operation running on disk '0a.18'.


Aggregate : aggr0
Bay : 2
BlocksRead : 1439024664
BlocksWritten : 146961112
BrokenDetails :
BytesPerSector : 520
ChecksumCompatibility : zoned/block
CopyDestination :
CopyPercent :
DiskModel : X274_S10K7146F10
DiskType : FCAL
DiskUid : 20000018:62845FD7:00000000:00000000:0000000
0:00000000:00000000:00000000:00000000:00000000
FirmwareRevision : NA07
GrownDefectListCount : 0
HostAdapter : 0a
Id : 1769473
IsDynamicallyQualified : False
IsOffline :
IsPrefailed : False
IsReplacing : False
IsZeroed :
Name : 0a.18
PhysicalBlocks : 280790184
PhysicalSpace : 143764574208
Plex : plex0
Pool : Pool0
Port : A
PortName : FC:A
PoweronHours : 23085
PoweronHoursTS : 961.21:00:00
RaidGroup : rg0
RaidState : present
RaidType : data
RawDiskSectors : 280790184
ReconstructionPercent :
Rpm : 10000
ScrubCount : 37
ScrubLastDone : 57108
ScrubLastDoneTS : 39.15:48:00
SecondaryName :
SecondaryPort :
SerialNumber : 3KS6689P00007704NBP8
Shelf : 1
ShmTimeInterval : 3427265
ShmTimeIntervalTS : 39.16:01:05
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
Start-NaDiskReplace







 Data ONTAP® PowerShell Toolkit