首页 > 其他 > 详细

Megacli创建磁盘raid过程

时间:2015-11-05 13:38:37      阅读:517      评论:0      收藏:0      [点我收藏+]

1、

[root@XXX megactl-0.4.1]# ./megasasctl

a0       PERC H710 Mini           encl:1 ldrv:1  batt:good
a0d0        1TiB RAID 10  2x2  optimal
unconfigured :  a0e32s4   a0e32s5   a0e32s6   a0e32s7
a0e32s0    558GiB  a0d0  online
a0e32s1    558GiB  a0d0  online
a0e32s2    558GiB  a0d0  online
a0e32s3    558GiB  a0d0  online
a0e32s4      1TiB        ready
a0e32s5      1TiB        ready

a0e32s6      1TiB        ready

a0e32s7      1TiB        ready


2、[root@XXX megactl-0.4.1]# /opt/MegaRAID/MegaCli/MegaCli64 -CfgSpanAdd -r10 -Array0[32:4,32:5] -Array1[32:6,32:7] -a0


Unconfigured Physical Disk(s).


Exit Code: 0x26


3、/opt/MegaRAID/MegaCli/MegaCli64 -pdlist -a0


4、[root@XXX megactl-0.4.1]# /opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -Scan –a0


There are 3 foreign configuration(s) on controller 0.


Exit Code: 0x00


5、[root@XXX megactl-0.4.1]# /opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -Clear [a0]


Foreign configuration 0 is cleared on controller 0.
Foreign configuration 1 is cleared on controller 0.
Foreign configuration 2 is cleared on controller 0.


Exit Code: 0x00

6、[root@XXX megactl-0.4.1]# /opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -Scan –a0


There is no foreign configuration on controller 0.


Exit Code: 0x00

7、/opt/MegaRAID/MegaCli/MegaCli64 -CfgSpanAdd -r10 -Array0[32:4,32:5] -Array1[32:6,32:7] -a0


8、parted -s /dev/sdb -- mklabel gpt mkpart primary 0 100%

9、mkfs.ext3 /dev/sdb1


版权声明:本文为博主原创文章,未经博主允许不得转载。

Megacli创建磁盘raid过程

原文:http://blog.csdn.net/l106439814/article/details/49660991

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!