RAID Migration – How to Migrate RAID 6 to RAID 5 Without Data Loss Using LSI MegaRAID

lsimegacliraid

I'm using a LSI MegaRAID SAS 9260-8i controller, firmware version 12.15.0-0189 with 8 physical drives. I currently have the main array running on RAID6 with 5 disks and second array on RAID1 with 2 disks. Last one disk slot is hot spare for RAID6.
Now I need run third array RAID1. I'm looking for two vacant slots…

Is there a way to migrate my array from RAID6 to RAID5 with one disk remove without recreating and restore data from backup? After that I would turn it off hot spare and have released the second slot.

Regards.

Best Answer

In general, there's no RAID controller I'm aware of that can migrate volumes to a configuration with a lower drive count.

MegaRAID is no exception to this, you can either keep the drive number or increase it (i.e. when increasing redundancy level).

MegaRAID supports the following RLM paths with the above in mind:

  • RAID 0 to RAID 1
  • RAID 0 to RAID 5
  • RAID 0 to RAID 6
  • RAID 1 to RAID 0
  • RAID 1 to RAID 5
  • RAID 1 to RAID 6
  • RAID 5 to RAID 0
  • RAID 5 to RAID 6
  • RAID 6 to RAID 0
  • RAID 6 to RAID 5

On a side note, if you are about to RLM a sizable amount of data (few TB) the complete array reconstruction may be a better path performance-wise.

You still need to do a full backup beforehand regardless of the way you choose, but RLM itself would take ages with a huge performance impact and unpredictable outcome, especially if your drives are old and patrol read is not being run on schedule.

Related Topic