Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
If I want to set the aggregate raid-size,
What's the powershell command ?
set-ncaggr or ncaggroption ?
Solved! See The Solution
Assuming you've added disks to expand the aggregate. EG
Set-NcAggrOption -Name aggr1_cluster1 -Key raidsize -Value 20
When it comes to creating aggregates, measure twice, cut once IMO
/Matt
Hi Allen,
The -RaidSize parameter is set when creating the aggregate. Set "Get-Help Add-NcAggr" EG:
NAME
New-NcAggr
SYNOPSIS
Create a new aggregate with the given name.
SYNTAX
New-NcAggr [-Name] <String> [-Node <String[]>] [-Striped] -DiskCount <Int32> [-DiskSize <Int64>] [-DiskType <String>] [-ChecksumStyle <String>] [-RaidSize <Int32>] [-ForceSparePool] [-BlockType <String>]
[-AllowMixedRpm] [-IgnorePoolChecks] [-PreCheck] [-Mirrored] [-IncludeInAutobalance] [-AutobalanceState <String>] [-ForceSmallAggregate] [-Encrypt] [-Simulate] [-SnaplockType <String>] [-Controller <NcController[]>]
[-RaidType <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-ZapiRetryCount <Int32>] [<CommonParameters>]
New-NcAggr [-Name] <String> [-Node <String[]>] [-Striped] -DiskCount <Int32> [-DiskSize <Int64>] [-ChecksumStyle <String>] [-RaidSize <Int32>] [-ForceSparePool] [-BlockType <String>] [-AllowMixedRpm]
[-IgnorePoolChecks] [-PreCheck] [-Mirrored] [-IncludeInAutobalance] [-AutobalanceState <String>] [-ForceSmallAggregate] [-Encrypt] [-DiskClass <String>] [-Simulate] [-SnaplockType <String>] [-Controller
<NcController[]>] [-RaidType <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-ZapiRetryCount <Int32>] [<CommonParameters>]
New-NcAggr [-Name] <String> [-Node <String[]>] [-Striped] -DiskCount <Int32> [-DiskSize <Int64>] [-ChecksumStyle <String>] [-RaidSize <Int32>] [-ForceSparePool] [-BlockType <String>] [-AllowMixedRpm]
[-IgnorePoolChecks] [-PreCheck] [-Mirrored] [-IncludeInAutobalance] [-AutobalanceState <String>] [-ForceSmallAggregate] [-Encrypt] [-ActualDiskType <String>] [-Simulate] [-SnaplockType <String>] [-Controller
<NcController[]>] [-RaidType <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-ZapiRetryCount <Int32>] [<CommonParameters>]
New-NcAggr [-Name] <String> [-Node <String[]>] [-Striped] [-RPM <Int32>] [-RaidSize <Int32>] [-ForceSparePool] [-BlockType <String>] [-AllowMixedRpm] [-IgnorePoolChecks] [-PreCheck] [-Mirrored] [-IncludeInAutobalance]
[-AutobalanceState <String>] [-ForceSmallAggregate] [-Encrypt] [-Simulate] [-SnaplockType <String>] [-Controller <NcController[]>] [-RaidType <String>] [-InformationAction <ActionPreference>] [-InformationVariable
<String>] [-PipelineVariable <String>] [-ZapiRetryCount <Int32>] [<CommonParameters>]
New-NcAggr [-Name] <String> [-Node <String[]>] [-Striped] -Disks <Object[]> [-MirrorDisks <Object[]>] [-RaidSize <Int32>] [-ForceSparePool] [-BlockType <String>] [-AllowSameCarrier] [-AllowMixedRpm]
[-IgnorePoolChecks] [-PreCheck] [-Mirrored] [-IncludeInAutobalance] [-AutobalanceState <String>] [-ForceSmallAggregate] [-Encrypt] [-Simulate] [-SnaplockType <String>] [-Controller <NcController[]>] [-RaidType
<String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-ZapiRetryCount <Int32>] [<CommonParameters>]
DESCRIPTION
Create a new aggregate with the given name. Up to 200 aggregates can be created on each controller. The aggregate may not yet be operational immediately after the API returns.
/Matt
sot it can't be modify by powershell after aggr created ?
Assuming you've added disks to expand the aggregate. EG
Set-NcAggrOption -Name aggr1_cluster1 -Key raidsize -Value 20
When it comes to creating aggregates, measure twice, cut once IMO
/Matt
Thanks very much