rpm --relocate /opt/=/usr/sbin/ -i MegaCli-1.01.24-0.i386.rpm
MegaCli -PDList -aALL Adapter #0 Enclosure Number: 1 Slot Number: 5 Device Id: 5 Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 Raw Size: 140014MB [0x11177328 Sectors] Non Coerced Size: 139502MB [0x11077328 Sectors] Coerced Size: 139392MB [0x11040000 Sectors] Firmware state: Hotspare SAS Address(0): 0x5000c50008e5cca9 SAS Address(1): 0x0 Inquiry Data: SEAGATE ST3146855SS S5273LN4Y1X0 .....
MegaCli -LDGetProp -Cache -L0 -a0 Adapter 0-VD 0: Cache Policy:WriteBack, ReadAheadNone, Direct
MegaCli -LDGetProp -Cache -L1 -a0 Adapter 0-VD 1: Cache Policy:WriteBack, ReadAheadNone, Direct
MegaCli -LDGetProp -Cache -LALL -a0 Adapter 0-VD 0: Cache Policy:WriteBack, ReadAheadNone, Direct Adapter 0-VD 1: Cache Policy:WriteBack, ReadAheadNone, Direct
MegaCli -LDGetProp -Cache -LALL -aALL Adapter 0-VD 0: Cache Policy:WriteBack, ReadAheadNone, Direct Adapter 0-VD 1: Cache Policy:WriteBack, ReadAheadNone, Direct
MegaCli -LDGetProp -DskCache -LALL -aALL Adapter 0-VD 0: Disk Write Cache : Disk's Default Adapter 0-VD 1: Disk Write Cache : Disk's Default
WT (Write through WB (Write back) NORA (No read ahead) RA (Read ahead) ADRA (Adaptive read ahead) Cached Direct
MegaCli -LDSetProp WT|WB|NORA|RA|ADRA -L0 -a0
MegaCli -LDSetProp -Cached|-Direct -L0 -a0
MegaCli -LDSetProp -EnDskCache|-DisDskCache -L0 -a0
MegaCli -CfgLdAdd -r5 [1:2,1:3,1:4] WB Direct -Hsp[1:5] -a0
MegaCli -CfgLdAdd -r5 [1:2,1:3,1:4] WB Direct -a0
MegaCli -CfgLdDel -L1 -a0
MegaCli -LDRecon -Start -r5 -Add -PhysDrv[1:4] -L1 -a0
MegaCli -LDInit -ShowProg -LALL -aALL
MegaCli -LDInit -ProgDsply -LALL -aALL
MegaCli -LDBI -ShowProg -LALL -aALL
MegaCli -LDBI -ProgDsply -LALL -aALL
MegaCli -PDHSP -Set [-EnclAffinity] [-nonRevertible] -PhysDrv[1:5] -a0
MegaCli -PDHSP -Set [-Dedicated [-Array1]] [-EnclAffinity] [-nonRevertible] -PhysDrv[1:5] -a0
MegaCli -PDHSP -Rmv -PhysDrv[1:5] -a0
MegaCli -PDOffline -PhysDrv [1:4] -a0
MegaCli -PDOnline -PhysDrv [1:4] -a0
MegaCli -PDRbld -ShowProg -PhysDrv [1:5] -a0
MegaCli -PDRbld -ProgDsply -PhysDrv [1:5] -a0
本文出自 “MySQL中文网”博客 http://www.imysql.cn/
本文出自 “爱MySQL” 博客,转载请与作者联系!