[root@localhost:~] /opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show config //显示所有配置和阵列卡
Dynamic Smart Array B140i in Slot 0b ()
Port Name: 1I
Port Name: 2I
Array A (Solid State SATA, Unused Space: 0 MB)
logicaldrive 1 (894.20 GB, RAID 0, Failed)
physicaldrive 2I:0:5 (port 2I:box 0:bay 5, SATA SSD, 480 GB, OK)
physicaldrive 2I:0:6 (port 2I:box 0:bay 6, SATA SSD, 480 GB, OK)
Smart Array P440 in Slot 2 (sn: xxxxxxxxxxxxx)
Internal Drive Cage at Port 1I, Box 1, OK
Port Name: 1I
Array A (SATA, Unused Space: 0 MB)
logicaldrive 1 (7.28 TB, RAID 0, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA HDD, 4 TB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA HDD, 4 TB, OK)
There are several helpful commands can be used:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
| /opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show config
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show status
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show detail
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 show detail
/opt/smartstorageadmin/ssacli/bin/ssacli rescan
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 pd all show status
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 pd all show detail
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld all show status
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 show
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 delete
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 modify dwc=enable
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 modify dwc=disable
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 pd 2I:1:6 modify erase
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 modify led=on
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 modify led=off
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 modify cacheratio=100/0
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 modify nbwc=enable
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 array a modify ssdsmartpath=enable
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 array a modify ssdsmartpath=disable
|