Megacli创建磁盘raid过程

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值