Project

General

Profile

Actions

Megaraid-create-raid

raid0 из 1 SAS диска

megacli -CfgLdAdd -r0 [32:14] WB RA Direct NoCachedBadBBU -a0 -nolog

raid0 из 1 SSD диска

megacli -CfgLdAdd -r0 [32:22] WT NORA Direct NoCachedBadBBU -a0 -nolog

raid0 из 2 SSD дисков

megacli -CfgLdAdd -r0 [32:10,32:11] WT NORA Direct NoCachedBadBBU -a0 -nolog

raid1 из 2 SSD дисков

megacli -CfgLdAdd -r1 [32:10,32:11] WT NORA Direct NoCachedBadBBU -a0 -nolog

raid10 из 8 дисков

megacli -CfgSpanAdd -r10 -Array0[32:10,32:11] -Array1[32:14,32:15] -Array2[32:18,32:19] -Array3[32:20,32:21] WT NORA Direct NoCachedBadBBU -a0 -nolog

raid10 из 4 дисков

megacli -CfgSpanAdd -r10 -Array0[32:18,32:19] -Array1[32:20,32:21] WT NORA Direct NoCachedBadBBU -a0 -nolog

переименование LD

fermi:~# megacli -LDSetProp -Name r10-4-ssd800 -L5 -A0 -nolog

Set name to r10-4-ssd800 on Adapter 0, VD 5 (target id: 5) success

fermi:~# megacli -LDGetProp -Name -Lall -A0 -nolog

Adapter 0-VD 0(target id: 0): Name: r10-1-sas
Adapter 0-VD 1(target id: 1): Name: r10-2-sas
Adapter 0-VD 2(target id: 2): Name: r10-3-sas
Adapter 0-VD 3(target id: 3): Name: r10-4-sata
Adapter 0-VD 4(target id: 4): Name: r1-1-ssd
Adapter 0-VD 5(target id: 5): Name: r10-4-ssd800

Exit Code: 0x00


проверка статуса синхронизации
megacli -AdpEventLog -GetLatest 3 -f /dev/stdout -aALL -nolog

Смена настроек у созданного массива на базе SSD дисков

megacli -LDSetProp -WT -L0 -a0
megacli -LDSetProp -NORA -L0 -a0
megacli -LDSetProp -Direct -L0 -a0

Updated by Андрей Волков almost 3 years ago · 9 revisions