1 安装arcconf 工具
rpm -ivh Arcconf-3.10-24308.x86_64.rpm
安装成功 运行arcconf list
2 刷新阵列卡固件
执行升级固件命令arcconf romupdate x luxor.bin noprompt (x为Controller ID)。
3 刷新成功后reboot后 执行arcconf getconfig 1 ad
4 执行 arcconf getconfig 1 pd |grep -i Firmware 查看当前每个硬盘的FW
5 arcconf IMAGEUPDATE 1 DEVICE 0 0 32768 SCHM3.1.BIN noprompt 刷新SSD固件
6 arcconf getconfig 1 查看当前组建的array
7 组raid
arcconf create 1 logicaldrive max 1 0 0 0 1 在controller 1上用0 0和0 1槽位上的HDD组RAID1,size为最大可用容量,如需指定大小,把max改成对应的大小即可
arcconf create 1 logicaldrive max 0 0 0在controller
1上用0 0 槽位上的HDD组RAID0,size为最大可用容量,如需指定大小,把max改成对应的大小即可
arcconf create 1 logicaldrive max 5 0 0 0 1 0 2 0 3在controller1上用0 0, 0 1, 0 2, 0 3 槽位上的HDD组RAID5,size为最大可用容量,如需指定大小,把max改成对应的大小即可
arcconf create 1 logicaldrive max 10 0 0 0 1 0 2 0 3 组raid10
8 删除raid
arcconf delete 1 logicaldrive 0 删除controller 1上的array 0
9 设置controller的模式(HBA/RAID/Mixed):
arcconf setcontrollermode (2-HBA,3-RAID,5-Mixed)
例:arcconf
setcontrollermode 1 5 把controller 1设置为Mixed模式
arcconf setcontrollermode 1 2 把controller 1设置为HBA模式(reboot生效)
10 全局热备,执行命令:arcconf setstate 1 device 0 3 hsp。
11 执行命令:arcconf getconfig 1 al,查看全局热备已经添加成功
12 移除热备盘,执行命令:arcconf setstate 1 device 0 3 rdy
13 为array0 添加热备盘
arcconf setstate 1 device 0 3 hsp array 0 sparetype 2
14 通过命令./arcconf-linux identify 1 device 0 21开启硬盘定位灯,方便更换