赞
踩
本篇记录一些常用的配置raid的命令
下载storcli管理软件
wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.21.16_StorCLI.zip
root@ubuntu:~# storcli show
---------------------------------------------------------------------------------------------------
Ctl Model Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth
---------------------------------------------------------------------------------------------------
0 Intel(R)IntegratedRAIDModuleRMS25CB080 8 12 12 0 12 0 Opt On 1&2 Y 4 Opt
---------------------------------------------------------------------------------------------------
root@ubuntu:~# storcli /c0 show
root@ubuntu:~# storcli /c0/fall del
storcli /c0 add vd type=raid0 size=1.817TB drives=8:0
后面为磁盘的编号,通过控制器信息里面可以查到
不加容量参数就是所有,后面drivers后面的编号可以用数字增加更多
storcli /c0/v8 del
后面的编号为vd的编号
storcli /c0/fall import
storcli /c0/e0/s1 set good force
storcli /c0/v0 set wrcache=awb
storcli /c0 /e10 /s23 set good
切换raid模式为jbod
[root@node174 Linux]# storcli /c0/e45/s24 set jbod
切换jbod模式为raid
[root@node174 Linux]# storcli /c0/e45/s24 set good force
[root@node174 Linux]# storcli /c0/e8/s1 start locate
[root@node174 Linux]# storcli /c0/e8/s1 stop locate
设置bootdrive
The Storage Command Line Tool supports the following OPROM BIOS commands:
storcli /cx/ex/sx set bootdrive=on|off
storcli /cx/vx set bootdrive=on|off
storcli /cx show bootdrive
本篇会根据实际用到的命令进行增加
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。