ONTAP Hardware

How can I combine tw RAID Group?

9410
4,824 Views

A fas2020 has 6 sas disk inside,

One day,the user ask me to insert additional 6 sas disk,

and upgrade the raid type to RAID DP.

and then I do that,

But maybe because my seauence,

and the result is some problem!

First I add the additional 6 disk to aggr0,

and I found there are to parity in aggr0,

I think maybe the second parity will become dparity,

so I type command upgrade the raid type of aggr 0 to be raid dp,

but after I do it,

the aggr 0 has two parity and one dparity,

and I see the report in Dataontap's Storage->Disk,

It become two raidgroup,

Is anyone know how to combine two RAID Group to be an one?

Thanks!

6 REPLIES 6

9410
4,824 Views

fix some word error:

->and I found there are two parity in aggr0,

->I think maybe the second parity will become dparity after I upgrade to RAID DP

danielpr
4,824 Views

Two questions you have asked

Can i merge two raid groups ?

I believe you can’t do this, In your case there are two raid groups rg0 ,which is full with (7Data+1Parity) and the rg1 with 2 Data + 1 Parity. The reason behind the second raid group got created is the raid group size which you have created during the aggregate create was default 8 for RAID4. Its 16 for RAID-DP for SAS disks. I would recommend you to fill your second RAID group rg1 during expansion.

Migrate to RAID-DP !

If you want to migrate to Raid-DP you need to have 2 more parity disks in your case one will go for rg0 and the other one for rg1. Mike has already given you answers to this.

Thanks

Daniel

roman_verysell
4,824 Views

I think, you just set a parameters for aggregate, in a time of creation, and choose a RAID group size = 8 disks, so, after installing a new disks, you've got 2 disk added into first RAID group, up to 8 disks in that RAID, then system start a new RAID.

I don't know how to merge that groups into one, I believe only - backup/reconfiguration with RAID group size = 16 (default for SAS)/restore - will help.

mcope
4,825 Views

If you decide to keep the two RAID groups rather than rebuild the aggregate, you can always add to them later with a SAS shelf.  You will have to add the new disks from the command line and specify the RAID group.  By default, ONTAP only adds disks to the last RAID group created until it becomes full and then create another RAID group rather than go back and fill up rg0.

fas1>aggr options aggr0 raidsize 16

fas1> aggr add aggr0 -g rg0 -d 0a.16 0a.17 etc.

9410
4,824 Views

Hi mbbmbhj:

if I do that command,

will any data lost?

adamfox
4,824 Views

As Michael said, you can't merge RAID groups, but you can back-fill RAID groups with the -g option.  That does not lose data.

Public