|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaDisk
NAME
Remove-NaDisk
SYNOPSIS
Remove a spare disk.
SYNTAX
Remove-NaDisk [-Name] <String> [-Controller <NaController>] [-WarningAction
<ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<Commo
nParameters>]
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 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-remove
-------------- Example 1 --------------
C:\PS>Remove-NaDisk 0a.29
Remove spare disk '0a.29'.
RELATED LINKS
Set-NaDiskUnfail
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|