Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Remove-NaDisk


NAME
Remove-NaDisk

SYNOPSIS
Remove a spare disk.

SYNTAX
Remove-NaDisk [-Name] <String> [-Controller <NaController>] [-WhatIf] [-Conf
irm] [<CommonParameters>]


DESCRIPTION
Remove a spare disk. Removes the specified spare disk from the RAID configur
ation, spinning the disk down when removal is complete. You can use disk rem
ove to remove a spare disk so that it can be used by another filer (as a rep
lacement for a failed disk or to expand file system space). NOTE: Data ONTAP
7.0 and earlier releases don't indicate failure code properly.


PARAMETERS
-Name <String>
Disk to remove.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, 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-remove

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

C:\PS>Remove-NaDisk 0a.22


Remove spare disk '0a.22'.


Aggregate :
Bay : 6
BlocksRead : 32216
BlocksWritten : 184
BrokenDetails : admin removed
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 : 1703937
IsDynamicallyQualified : False
IsOffline :
IsPrefailed :
IsReplacing :
IsZeroed :
Name : 0a.22
PhysicalBlocks : 280790184
PhysicalSpace : 143764574208
Plex :
Pool : Pool0
Port : A
PortName : FC:A
PoweronHours : 23109
PoweronHoursTS : 962.21:00:00
RaidGroup :
RaidState : broken
RaidType : pending
RawDiskSectors : 280790184
ReconstructionPercent :
Rpm : 10000
ScrubCount : 22
ScrubLastDone : 101467
ScrubLastDoneTS : 70.11:07: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 : False
PoweronHoursSpecified : True
ReconstructionPercentSpecified : False
RpmSpecified : True
ZeroingPercentSpecified : False



RELATED LINKS
Set-NaDiskUnfail







 Data ONTAP® PowerShell Toolkit