Customizing the size of your RAID groups
You can customize the size of your RAID groups to ensure that your RAID group sizes are appropriate for the amount of storage you plan to include for an aggregate.
About this task
For standard aggregates, you change the size of RAID groups on a per-aggregate basis. For Flash Pool aggregates, you can change the RAID group size for the SSD RAID groups and the HDD RAID groups independently.
The following list outlines some facts about changing the RAID group size:
By default, if the number of disks in the most recently created RAID group is less than the new RAID group size, disks will be added to the most recently created RAID group until it reaches the new size.
All other existing RAID groups in that aggregate remain the same size, unless you explicitly add disks to them.
You can never cause a RAID group to become larger than the current maximum RAID group size for the aggregate.
You cannot decrease the size of already created RAID groups.
The new size applies to all RAID groups in that aggregate (or, in the case of a Flash Pool aggregate, all RAID groups for the affected RAID group type—SSD or HDD).
If you want to... | Enter the following command... |
---|---|
Change the maximum RAID group size for the SSD RAID groups of a Flash Pool aggregate | storage aggregate modify -aggregate aggr_name -cache-raid-group-size size |
Change the maximum size of any other RAID groups | storage aggregate modify -aggregate aggr_name -maxraidsize size |
Examples
The following command changes the maximum RAID group size of the aggregate n1_a4 to 20 disks: storage aggregate modify -aggregate n1_a4 -maxraidsize 20
The following command changes the maximum RAID group size of the SSD cache RAID groups of the Flash Pool aggregate n1_cache_a2 to 24: storage aggregate modify -aggregate n1_cache_a2 -cache-raid-group-size 24