Upgrading from RAID 4 to RAID DP

Checking the RAID type and config

In this example the aggregate has two disks and is a R4 configuration.

testfiler01*> aggr status -r aggr1
Aggregate aggr1 (online, raid4) (block checksums)
Plex /aggr1/plex0 (online, normal, active, pool0)
RAID group /aggr1/plex0/rg0 (normal, block checksums)

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
——— —— ————- —- —- —- —– ————– ————–
parity 1a.01.1 1a 1 1 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816
data 1a.01.2 1a 1 2 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816

Checking the spare disk on the controller:

testfiler01*> aggr status -s

There are a couple of spare disks that can be used to add to the aggregate.

Pool0 spare disks

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
——— —— ————- —- —- —- —– ————– ————–
Spare disks for block checksum
spare 1b.11.0 1b 11 0 SA:A 0 SAS 15000 418000/856064000 420156/860480768
spare 1a.03.4 1a 3 4 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816
spare 1a.03.6 1a 3 6 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816
spare 1d.03.9 1d 3 9 SA:B 0 BSAS 7200 1695466/3472315904 1695759/3472914816

Change the aggr option

 a. Verify the aggr type and size

testfiler01*> aggr options aggr1
root, diskroot, nosnap=off, raidtype=raid4, raidsize=7,
ignore_inconsistent=off, snapmirrored=off, resyncsnaptime=60,
fs_size_fixed=off, snapshot_autodelete=on, lost_write_protect=on,
ha_policy=cfo, hybrid_enabled=off, percent_snapshot_space=5%,
free_space_realloc=off

b. Changing the aggr type from 4 to DP

Note: The default Raid group size will change from 7 to 14 hen changing from R4 to R DP

testfiler01*> aggr options aggr1 raidtype raid_dp
Aggregate aggr1: raidsize is adjusted from 7 to 14 after changing raidtype.
testfiler01*> Wed Jun 19 12:27:54 CEST [testfiler01:raid.config.raidsize.change:notice]: aggregate aggr1: raidsize is adjusted from 7 to 14 after changing raidtype
Wed Jun 19 12:27:54 CEST [testfiler01:raid.rg.recons.missing:notice]: RAID group /aggr1/plex0/rg0 is missing 1 disk(s).
Wed Jun 19 12:27:54 CEST [testfiler01:raid.rg.recons.info:notice]: Spare disk 1a.03.4 will be used to reconstruct one missing disk in RAID group /aggr1/plex0/rg0.
Wed Jun 19 12:27:54 CEST [testfiler01:raid.rg.recons.start:notice]: /aggr1/plex0/rg0: starting reconstruction, using disk 1a.03.4

Checking the spares after the Raid type conversion

testfiler01*> aggr status -s

Pool0 spare disks
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
——— —— ————- —- —- —- —– ————– ————–
Spare disks for block checksum
spare 1b.11.0 1b 11 0 SA:A 0 SAS 15000 418000/856064000 420156/860480768
spare 1a.03.6 1a 3 6 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816
spare 1d.03.9 1d 3 9 SA:B 0 BSAS 7200 1695466/3472315904 1695759/3472914816

Checking the aggr options after raid type conversion

testfiler01*> aggr options aggr1
root, diskroot, nosnap=off, raidtype=raid_dp, raidsize=14,
ignore_inconsistent=off, snapmirrored=off, resyncsnaptime=60,
fs_size_fixed=off, snapshot_autodelete=on, lost_write_protect=on,
ha_policy=cfo, hybrid_enabled=off, percent_snapshot_space=5%,
free_space_realloc=off

Checking the RAID configuration after the conversion

testfiler01*> aggr status -r aggr1
Aggregate aggr1 (online, raid_dp, reconstruct) (block checksums)
Plex /aggr1/plex0 (online, normal, active, pool0)
RAID group /aggr1/plex0/rg0 (reconstruction 0% completed, block checksums)

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
——— —— ————- —- —- —- —– ————– ————–
dparity 1a.03.4 1a 3 4 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816 (reconstruction 0% completed)
parity 1a.01.1 1a 1 1 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816
data 1a.01.2 1a 1 2 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816

Leave a Reply


Hit Counter provided by technology news