|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NcDisk
NAME
Remove-NcDisk
SYNOPSIS
Remove a spare disk.
SYNTAX
Remove-NcDisk [-Name] <String> [-Controller <NcController[]>] [<CommonParame
ters>]
DESCRIPTION
Remove a spare disk. Removes the specified spare disk from the RAID configu
ration, spinning the disk down when removal is complete. You can use disk r
emove to remove a spare disk so that it can be used by another filer (as a r
eplacement for a failed disk or to expand file system space).
To remove a RAID disk, use Set-NcDiskFail.
PARAMETERS
-Name <String>
The name of the spare disk to remove. 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
-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-remove
Family: cluster
-------------- Example 1 --------------
C:\PS>Remove-NcDisk fas3070cluster01-01:0a.27 | select DiskRaidInfo -ExpandP
roperty DiskRaidInfo
Move spare disk '0a.27' on node 'fas3070cluster01-01' to the broken disk poo
l. Display the result to see the disk in the 'broken' container.
NcController : 10.61.172.155
ActiveNodeName : fas3070cluster01-01
ContainerType : broken
DiskAggregateInfo :
DiskOutageInfo : DataONTAP.C.Types.StorageDisk.DiskOutageInfo
DiskSpareInfo :
DiskUid : 20000018:6232DB31:00000000:00000000:00000000:00000
000:00000000:00000000:00000000:00000000
EffectiveDiskType : SAS
PhysicalBlocks : 35098773
Position : present
SparePool : spare
UsedBlocks : 34816000
PhysicalBlocksSpecified : True
UsedBlocksSpecified : True
RELATED LINKS
Set-NcDiskFail
Set-NcDiskUnfail
Get-NcDisk
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|