大网数据广告活动
服务器运维问答

lsi megaraid migrate raid 6 to raid 5 without data loss?

· 52CE 我爱测

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 ho…

问题原文

原帖链接 · Vladimir Sokolov · CC BY-SA 4.0

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.

已采纳解答

原帖链接 · Peter Zhabin · CC BY-SA 4.0

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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-05-16)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。