Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcAggrRaidType


NAME
Set-NcAggrRaidType

SYNOPSIS


SYNTAX
Set-NcAggrRaidType [-Name] <String> [-RaidType] <String> [-DiskType <String>
] [-Controller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Modify the RAID type for the given aggregate to the specified RaidType. This
API can also selectively change the RAID type of specific raid groups in th
e aggregate based on the specified DiskType. The change remains effective ev
en if the filer is rebooted.

This API does not support modifying options of a striped aggregate.


PARAMETERS
-Name <String>
Name or UUID of the aggregate whose option is to be set.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-RaidType <String>
The type of RAID group used for this aggregate. The "raid4" setting pro
vides one parity disk per RAID group, while "raid_dp" provides two. Chan
ging this option immediately changes the RAID group type for the RAID gr
oups in the aggregate. When upgrading RAID groups from "raid4" to "raid
_dp", each RAID group begins a reconstruction onto a spare disk allocate
d for the second "dparity" parity disk.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-DiskType <String>
Type of disks to use : ATA, BSAS, FCAL, FSAS, LUN, SAS, SATA, or SSD. T
his option is required if we want to change the raid type of raid groups
created out of the specified disks only. Otherwise, if this is not spec
ified then the raid type for all raid groups in the aggregate would chan
ge.

Required? false
Position? named
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.Aggr.AggrAttributes


NOTES


Category: aggr
API: aggr-modify-raid-type
Family: cluster

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

C:\PS>Set-NcAggrRaidType -Name test_aggr -RaidType raid_dp


Set the RAID type to raid_dp for aggregate testaggr.


Name State TotalSize Used Available Disks RaidT
ype RaidSize Volumes
---- ----- --------- ---- --------- ----- -----
--- -------- -------
test_aggr online 2.9 TB 1% 2.9 TB 4 raid_
dp, normal 14 3



RELATED LINKS
Get-NcAggr







 Data ONTAP® PowerShell Toolkit