1、
[root@XXX megactl-0.4.1]# ./megasasctl
a0 PERC H710 Mini encl:1 ldrv:1 batt:gooda0e32s6 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