Table of ContentsView in Frames

Changing the RAID type of RAID groups in a Flash Pool aggregate

The SSD cache of a Flash Pool aggregate can have a different RAID type than the HDD RAID groups. You can change the RAID type of the SSD cache or HDD RAID groups independently of one another. All of the HDD RAID groups must have the same RAID type.

About this task

If the SSD cache RAID group goes into a failed state, the Flash Pool aggregate goes offline, just as it would if an HDD RAID group goes into a failed state. For this reason, you should use RAID-DP as the RAID type for the SSD cache whenever possible, and adhere to good hot spare practices for the SSD cache.

If the SSD cache has a different RAID type than the HDD RAID groups, the Flash Pool aggregate is considered to have a mixed RAID type, displayed as mixed_raid_type for the aggregate.

Steps

  1. Change the RAID type of the SSD cache or HDD RAID groups of the Flash Pool aggregate: aggr options aggr_name -T disk-type
    To change the RAID type of the SSD cache, use -T SSD. To change the RAID type of the HDD RAID groups, specify any disk type included in the HDD RAID groups.
  2. Verify the RAID groups in your Flash Pool aggregate: aggr status aggr_name -r
    You also can use the aggr status -r command to obtain more details about the RAID types of the HDD RAID groups and SSD cache of the Flash Pool aggregate.

Example

In this example, the HDD RAID groups and SSD cache of a Flash Pool aggregate named "test" initially have a RAID type of RAID4. The following command changes the RAID type of the SSD cache to RAID-DP, and converts the Flash Pool aggregate to the mixed RAID type: aggr options test raidtype raid_dp -T SSD

The output from the aggr status -r command shows that the aggregate has a mixed RAID type, the HDD RAID groups have a RAID type of RAID4, and the SSD cache has a RAID type of RAID-DP.

aggr status -r test

Aggregate test (online, mixed_raid_type, hybrid) (block checksums)
  Plex /test/plex0 (online, normal, active)
    RAID group /test/plex0/rg0 (normal, block checksums, raid4)

RAID Disk Device   HA SHELF BAY CHAN Pool Type RPM  Used (MB/blks)    Phys (MB/blks)
--------- ------   -- ----- --- ---- ---- ---- ---  --------------    --------------
parity    6b.43.1  6b  43   1   SA:B -    BSAS 7200 847555/1735794176 847884/1736466816
data      6b.43.2  6b  43   2   SA:A -    BSAS 7200 847555/1735794176 847884/1736466816
data      6b.43.3  6b  43   3   SA:B -    BSAS 7200 847555/1735794176 847884/1736466816
data      6b.43.6  6b  43   6   SA:A -    BSAS 7200 847555/1735794176 847884/1736466816
data      6b.43.9  6b  43   9   SA:B -    BSAS 7200 847555/1735794176 847884/1736466816
data      6b.43.10 6b  43  10   SA:A -    BSAS 7200 847555/1735794176 847884/1736466816

    RAID group /test/plex0/rg1 (normal, block checksums, raid_dp)

RAID Disk Device   HA SHELF BAY CHAN Pool Type RPM  Used (MB/blks)    Phys (MB/blks)
--------- ------   -- ----- --- ---- ---- ---- ---  --------------    --------------
dparity   6b.43.15 6b  43   15  SA:B -    SSD  N/A  84574/173208064   84796/173663616
parity    6b.43.4  6b  43   4   SA:A -    SSD  N/A  84574/173208064   84796/173663616
data      6b.43.13 6b  43   13  SA:B -    SSD  N/A  84574/173208064   84796/173663616
data      6b.43.14 6b  43   14  SA:A -    SSD  N/A  84574/173208064   84796/173663616