Create raid group in an existing aggregate

How-to create a new raid group in an existing aggregate

Limitation:

  • Each aggregate uses the same raid type. For example, when an aggregate was created with Raid-DP, any other raid groups created in the future will all belong Raid-DP. Even changing raid type in the aggregate, all the raid groups will be also changed at the same time.
  • The name of raid groups can not be changed. It will be automatically assigned as rg0, rg1, rg2, and so on.

Configuration:

na-lab> aggr status -s

Spare disks

RAID Disk       Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
———       ——  ————- —- —- —- —– ————–    ————–
Spare disks for zoned checksum traditional volumes or aggregates only
spare           v4.26   v4    1   10  FC:B   –  FCAL  N/A  120/246784        127/261248
spare           v4.27   v4    1   11  FC:B   –  FCAL  N/A  120/246784        127/261248
spare           v4.28   v4    1   12  FC:B   –  FCAL  N/A  120/246784        127/261248
spare           v4.29   v4    1   13  FC:B   –  FCAL  N/A  120/246784        127/261248
na-lab> aggr add aggr1 -g new -d v4.26 v4.27 v4.28
# aggr add {aggregate_name} -g new -d {disk_number}
Note: preparing to add 1 data disk and 2 parity disks.
Continue? ([y]es, [n]o, or [p]review RAID layout) p
The RAID group configuration will change as follows:
RAID Group                Current               NEW
———-                ——-               —-
/aggr1/plex0/rg0          3 disks               3 disks
/aggr1/plex0/rg1                                3 disks

Continue? ([y]es, [n]o, or [p]review RAID layout) y
Thu Apr 29 03:08:32 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg1/v4.28 Shelf 1 Bay 12 [NETAPP   VD-100MB         0042] S/N [67130511] to aggregate aggr1 has completed successfully
Thu Apr 29 03:08:32 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg1/v4.27 Shelf 1 Bay 11 [NETAPP   VD-100MB         0042] S/N [67130510] to aggregate aggr1 has completed successfully
Thu Apr 29 03:08:32 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg1/v4.26 Shelf 1 Bay 10 [NETAPP   VD-100MB         0042] S/N [67130509] to aggregate aggr1 has completed successfully
Addition of 3 disks to the aggregate has completed.

Verification:

na-lab> aggr status aggr1 -r
Aggregate aggr1 (online, raid_dp) (zoned checksums)
Plex /aggr1/plex0 (online, normal, active)
RAID group /aggr1/plex0/rg0 (normal)

RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
——— ——  ————- —- —- —- —– ————–    ————–
dparity   v4.22   v4    1   6   FC:B   –  FCAL  N/A  120/246784        127/261248
parity    v4.24   v4    1   8   FC:B   –  FCAL  N/A  120/246784        127/261248
data      v4.25   v4    1   9   FC:B   –  FCAL  N/A  120/246784        127/261248

RAID group /aggr1/plex0/rg1 (normal)

RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
——— ——  ————- —- —- —- —– ————–    ————–
dparity   v4.26   v4    1   10  FC:B   –  FCAL  N/A  120/246784        127/261248
parity    v4.27   v4    1   11  FC:B   –  FCAL  N/A  120/246784        127/261248
data      v4.28   v4    1   12  FC:B   –  FCAL  N/A  120/246784        127/261248

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *