我有一台新的服务器,有6个SATA HD,每个1TB。
我正在使用硬件RAID
01:00.0 RAID总线控制器:LSI逻辑/ Symbios逻辑LSI MegaSAS 9260(rev 03)
服务器仅使用3个硬驱动器预先configuration了RAID 6。
现在我想用目前的6个Harddrives从目前的Raid 10移植到Raid 10。 我已经安装了MegaCli。 操作系统是Debian Squeeze。
我明白,支持实时迁移。 由于服务器是新的,不带任何数据,我不关心备份。 在开始使用服务器之前,我只想迁移到Raid Level 10。
我明白,我可能需要使用类似的语法
MegaCli –LDRecon -CfgSpanAdd -r10 -Array0[62:0,62:1] -Array1[62:2,62:3] -Array3[62:2,62:3] -a1
这应该定义一个3个单位2个驱动器的RAID 10。
这个生活会不会有麻烦?
我目前的RAIDconfiguration:
Adapter 0 -- Virtual Drive Information: Virtual Drive: 0 (Target Id: 0) Name : RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3 Size : 1.816 TB Sector Size : 512 Parity Size : 3.633 TB State : Optimal Strip Size : 256 KB Number Of Drives per span:3 Span Depth : 2 Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disk's Default Encryption Type : None Is VD Cached: No
解决scheme:我了解到,从6人到10人的迁移很简单,不支持 – 所以我要通过webbios并从一开始就设置raid。
允许的迁移types是有限的。 根据MegaRAID SAS软件的文档,第3.7.4节。 迁移虚拟驱动器的RAID级别 :
允许迁移以下RAID级别:
- RAID 0到RAID 1
- RAID 0到RAID 5
- RAID 1到RAID 5
- RAID 1到RAID 6
- RAID 5到RAID 6
因此,从RAID级别60迁移到10根本无法工作。