Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 18.56 KB  |  hits: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. apt-get install libsysfs2
  2. ln -s /lib/libsysfs.so.2.0.1 /lib/libsysfs.so.2.0.2
  3.  
  4.  
  5.  
  6.       MegaCLI SAS RAID Management Tool  Ver 8.01.06 Dec 23, 2010
  7.  
  8.     (c)Copyright 2010, LSI Corporation, All Rights Reserved.
  9.  
  10.  
  11. NOTE: The following options may be given at the end of any command below:
  12.  
  13.     [-Silent] [-AppLogFile filename] [-NoLog] [-page[N]]
  14.                  [-] is optional.
  15.                   N - Number of lines per page.
  16.  
  17. MegaCli -v
  18. MegaCli -help|-h|?
  19. MegaCli -adpCount
  20. MegaCli -AdpSetProp {CacheFlushInterval -val} | { RebuildRate -val}
  21.     | {PatrolReadRate -val} | {BgiRate -val} | {CCRate -val}
  22.     | {ReconRate -val} | {SpinupDriveCount -val} | {SpinupDelay -val}
  23.     | {CoercionMode -val} | {ClusterEnable -val} | {PredFailPollInterval -val}
  24.     | {BatWarnDsbl -val} | {EccBucketSize -val} | {EccBucketLeakRate -val}
  25.     | {AbortCCOnError -val} | AlarmEnbl | AlarmDsbl | AlarmSilence
  26.     | {SMARTCpyBkEnbl -val} | {SSDSMARTCpyBkEnbl -val} | NCQEnbl | NCQDsbl
  27.     | {MaintainPdFailHistoryEnbl -val} | {RstrHotSpareOnInsert -val}
  28.     | {DisableOCR -val} | {BootWithPinnedCache -val}
  29.     | AutoEnhancedImportEnbl | AutoEnhancedImportDsbl
  30.     | {EnblSpinDownUnConfigDrvs -val}|{UseDiskActivityforLocate -val} -aN|-a0,1,2|-aALL
  31.     | {ExposeEnclDevicesEnbl -val} | {SpinDownTime -val}
  32.     | {SpinUpEncDrvCnt -val} | {SpinUpEncDelay -val} -aN|-a0,1,2|-aALL
  33. MegaCli -AdpSetProp -AutoDetectBackPlaneDsbl -val -aN|-a0,1,2|-aALL
  34.        val - 0=Enable Auto Detect of SGPIO and i2c SEP.
  35.              1=Disable Auto Detect of SGPIO.
  36.              2=Disable Auto Detect of i2c SEP.
  37.              3=Disable Auto Detect of SGPIO and i2c SEP.
  38. MegaCli -AdpSetProp -CopyBackDsbl -val -aN|-a0,1,2|-aALL
  39.        val - 0=Enable Copyback.
  40.              1=Disable Copyback.
  41. MegaCli -AdpSetProp -EnableNonRaid -val -aN|-a0,1,2|-aALL
  42.        val - 0=Disable Non-Raid mode.
  43.              1=Enable Non-Raid mode.
  44. MegaCli -AdpSetProp -DsblCacheBypass -val -aN|-a0,1,2|-aALL
  45.        val - 0=Enable Cache Bypass.
  46.              1=Disable Cache Bypass.
  47. MegaCli -AdpSetProp -LoadBalanceMode -val -aN|-a0,1,2|-aALL
  48.        val - 0=Auto Load balance mode.
  49.              1=Disable Load balance mode.
  50. MegaCli -AdpSetProp -UseFDEOnlyEncrypt -val -aN|-a0,1,2|-aALL
  51.        val - 0=FDE and controller encryption (if HW supports) is allowed.
  52.              1=Only support FDE encryption, disallow controller encryption.
  53. MegaCli -AdpSetProp -PrCorrectUncfgdAreas -val -aN|-a0,1,2|-aALL
  54.        val - 0= Correcting Media error during PR is disabled.
  55.              1=Correcting Media error during PR is allowed.
  56. MegaCli -AdpSetProp -DsblSpinDownHSP -val -aN|-a0,1,2|-aALL
  57.        val - 0= Spinning down the Hot Spare is enabled.
  58.              1=Spinning down the Hot Spare is disabled.
  59. MegaCli -AdpSetProp -DefaultLdPSPolicy -Default| -Automatic| -None | -Maximum| -MaximumWithoutCaching -aN|-a0,1,2|-aALL
  60. MegaCli -AdpSetProp -DisableLdPS -interval n1 -time n2 -aN|-a0,1,2|-aALL
  61.        where n1 is the number of hours beginning at time n2
  62.        where n2 is the number of minutes from 12:00am
  63. MegaCli -AdpGetProp CacheFlushInterval | RebuildRate | PatrolReadRate
  64.     | BgiRate | CCRate | ReconRate | SpinupDriveCount | SpinupDelay
  65.     | CoercionMode | ClusterEnable | PredFailPollInterval | BatWarnDsbl
  66.     | EccBucketSize | EccBucketLeakRate | EccBucketCount | AbortCCOnError
  67.     | AlarmDsply | SMARTCpyBkEnbl | SSDSMARTCpyBkEnbl | NCQDsply
  68.     | MaintainPdFailHistoryEnbl | RstrHotSpareOnInsert
  69.     | EnblSpinDownUnConfigDrvs  | DisableOCR
  70.     | BootWithPinnedCache | AutoEnhancedImportDsply | AutoDetectBackPlaneDsbl
  71.     | CopyBackDsbl | LoadBalanceMode | UseFDEOnlyEncrypt | WBSupport | EnableNonRaid
  72.     | DsblCacheBypass | ExposeEnclDevicesEnbl | SpinDownTime
  73.     | PrCorrectUncfgdAreas | UseDiskActivityforLocate -aN|-a0,1,2|-aALL
  74.     | DefaultLdPSPolicy | DisableLdPsInterval | DisableLdPsTime | SpinUpEncDrvCnt
  75.     | SpinUpEncDelay | PrCorrectUncfgdAreas -aN|-a0,1,2|-aALL
  76.     | DsblSpinDownHSP -aN|-a0,1,2|-aALL
  77. MegaCli -AdpAllInfo -aN|-a0,1,2|-aALL  
  78. MegaCli -AdpGetTime -aN|-a0,1,2|-aALL  
  79. MegaCli -AdpSetTime yyyymmdd hh:mm:ss -aN  
  80. MegaCli -AdpSetVerify -f fileName -aN|-a0,1,2|-aALL  
  81. MegaCli -AdpBIOS -Enbl |-Dsbl | -SOE | -BE | EnblAutoSelectBootLd | DsblAutoSelectBootLd | -Dsply -aN|-a0,1,2|-aALL
  82. MegaCli -AdpBootDrive {-Set {-Lx | -physdrv[E0:S0]}}|-Get -aN|-a0,1,2|-aALL
  83. MegaCli -AdpAutoRbld -Enbl|-Dsbl|-Dsply -aN|-a0,1,2|-aALL
  84. MegaCli -AdpCacheFlush -aN|-a0,1,2|-aALL
  85. MegaCli -AdpPR -Dsbl|EnblAuto|EnblMan|Start|Stop|Info
  86.          |{SetDelay Val}|{-SetStartTime yyyymmdd hh}|{maxConcurrentPD Val} -aN|-a0,1,2|-aALL
  87. MegaCli -AdpCcSched -Dsbl|-Info|{-ModeConc | -ModeSeq [-ExcludeLD -LN|-L0,1,2]
  88.    [-SetStartTime yyyymmdd hh ] [-SetDelay val ] } -aN|-a0,1,2|-aALL
  89. MegaCli -AdpCcSched -SetStartTime yyyymmdd hh -aN|-a0,1,2|-aALL
  90. MegaCli -AdpCcSched -SetDelay val  -aN|-a0,1,2|-aALL
  91. MegaCli -FwTermLog -BBUoff|BBUoffTemp|BBUon|BBUGet|Dsply|Clear -aN|-a0,1,2|-aALL
  92. MegaCli -AdpAlILog -aN|-a0,1,2|-aALL
  93. MegaCli -AdpDiag [val] -aN|-a0,1,2|-aALL
  94.           val - Time in second.
  95. MegaCli -AdpGetPciInfo -aN|-a0,1,2|-aALL
  96. MegaCli -AdpShutDown -aN|-a0,1,2|-aALL
  97. MegaCli -PDList -aN|-a0,1,2|-aALL
  98. MegaCli -PDGetNum -aN|-a0,1,2|-aALL
  99. MegaCli -pdInfo -PhysDrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL  
  100. MegaCli -PDOnline  -PhysDrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL
  101. MegaCli -PDOffline -PhysDrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL
  102. MegaCli -PDMakeGood -PhysDrv[E0:S0,E1:S1,...] | [-Force] -aN|-a0,1,2|-aALL
  103. MegaCli -PDMakeNonRaid -PhysDrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL
  104. MegaCli -PDHSP {-Set [-Dedicated [-ArrayN|-Array0,1,2...]] [-EnclAffinity] [-nonRevertible]}
  105.      |-Rmv -PhysDrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL
  106. MegaCli -PDRbld -Start|-Stop|-ShowProg |-ProgDsply
  107.         -PhysDrv [E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL  
  108.  
  109. MegaCli -PDClear -Start|-Stop|-ShowProg |-ProgDsply
  110.         -PhysDrv [E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL  
  111. MegaCli -PdLocate {[-start] | -stop} -physdrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL
  112. MegaCli -PdMarkMissing -physdrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL
  113. MegaCli -PdGetMissing -aN|-a0,1,2|-aALL
  114. MegaCli -PdReplaceMissing -physdrv[E0:S0] -arrayA, -rowB -aN
  115. MegaCli -PdPrpRmv [-UnDo] -physdrv[E0:S0] -aN|-a0,1,2|-aALL  
  116. MegaCli -EncInfo -aN|-a0,1,2|-aALL
  117. MegaCli -EncStatus -aN|-a0,1,2|-aALL
  118. MegaCli -PhyInfo -phyM -aN|-a0,1,2|-aALL  
  119. MegaCli -PhySetLinkSpeed -phyM -speed -aN|-a0,1,2|-aALL
  120. MegaCli -PdFwDownload [offline] {[-SataBridge] -PhysDrv[0:1] }|{-EncdevId[devId1]} -f <filename> -aN|-a0,1,2|-aALL
  121. MegaCli -LDInfo -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
  122. MegaCli -LDSetProp  {-Name LdNamestring} | -RW|RO|Blocked | WT|WB [-Immediate] |RA|NORA|ADRA
  123.         | Cached|Direct | -EnDskCache|DisDskCache | CachedBadBBU|NoCachedBadBBU
  124.         -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
  125. MegaCli -LDSetPowerPolicy -Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching
  126.         -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
  127. MegaCli -LDGetProp  -Cache | -Access | -Name | -DskCache | -PSPolicy -Lx|-L0,1,2|-LALL  
  128.         -aN|-a0,1,2|-aALL
  129. MegaCli -LDInit {-Start [-full]}|-Abort|-ShowProg|-ProgDsply -Lx|-L0,1,2|-LALL -aN|-a0,1,2|-aALL
  130. MegaCli -LDCC {-Start [-force]}|-Abort|-ShowProg|-ProgDsply -Lx|-L0,1,2|-LALL -aN|-a0,1,2|-aALL
  131. MegaCli -LDBI -Enbl|-Dsbl|-getSetting|-Abort|-ShowProg|-ProgDsply -Lx|-L0,1,2|-LALL -aN|-a0,1,2|-aALL  
  132. MegaCli -LDRecon {-Start -rX [{-Add | -Rmv} -Physdrv[E0:S0,...]]}|-ShowProg|-ProgDsply
  133.         -Lx -aN
  134. MegaCli -LdPdInfo -aN|-a0,1,2|-aALL
  135. MegaCli -LDGetNum -aN|-a0,1,2|-aALL
  136. MegaCli -LDBBMClr -Lx|-L0,1,2,...|-Lall -aN|-a0,1,2|-aALL
  137. MegaCli -getLdExpansionInfo -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
  138. MegaCli -LdExpansion -pN -dontExpandArray -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
  139. MegaCli -CfgLdAdd -rX[E0:S0,E1:S1,...] [WT|WB] [NORA|RA|ADRA] [Direct|Cached]
  140.         [CachedBadBBU|NoCachedBadBBU] [-szXXX [-szYYY ...]]
  141.         [-strpszM] [-Hsp[E0:S0,...]] [-AfterLdX] [-Force]|[Secure]  
  142.                 [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aN
  143. MegaCli -CfgCacheCadeAdd -Physdrv[E0:S0,...] {-Name LdNamestring} -aN|-a0,1,2|-aALL
  144. MegaCli -CfgEachDskRaid0 [WT|WB] [NORA|RA|ADRA] [Direct|Cached]
  145.         [CachedBadBBU|NoCachedBadBBU] [-strpszM]|[Secure] [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aN|-a0,1,2|-aALL
  146. MegaCli -CfgClr -aN|-a0,1,2|-aALL
  147. MegaCli -CfgDsply -aN|-a0,1,2|-aALL
  148. MegaCli -CfgLdDel -LX|-L0,2,5...|-LALL -aN|-a0,1,2|-aALL
  149. MegaCli -CfgCacheCadeDel -LX|-L0,2,5...|-LALL -aN|-a0,1,2|-aALL
  150. MegaCli -CfgFreeSpaceinfo -aN|-a0,1,2|-aALL
  151. MegaCli -CfgSpanAdd -r10 -Array0[E0:S0,E1:S1] -Array1[E0:S0,E1:S1] [-ArrayX[E0:S0,E1:S1] ...]
  152.         [WT|WB] [NORA|RA|ADRA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU]
  153.         [-szXXX[-szYYY ...]][-strpszM][-AfterLdX][-Force]|[Secure]
  154.                 [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aN
  155. MegaCli -CfgSpanAdd -r50 -Array0[E0:S0,E1:S1,E2:S2,...] -Array1[E0:S0,E1:S1,E2:S2,...]
  156.         [-ArrayX[E0:S0,E1:S1,E2:S2,...] ...] [WT|WB] [NORA|RA|ADRA] [Direct|Cached]
  157.         [CachedBadBBU|NoCachedBadBBU][-szXXX[-szYYY ...]][-strpszM][-AfterLdX][-Force]|
  158.         [Secure] [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aNMegaCli -CfgAllFreeDrv -rX [-SATAOnly] [-SpanCount XXX] [WT|WB] [NORA|RA|ADRA]
  159.         [Direct|Cached] [CachedBadBBU|NoCachedBadBBU] [-strpszM]
  160.         [-HspCount XX [-HspType -Dedicated|-EnclAffinity|-nonRevertible]]|
  161.         [Secure] [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aN
  162. MegaCli -CfgSave -f filename -aN  
  163. MegaCli -CfgRestore -f filename -aN  
  164. MegaCli -CfgForeign -Scan | [-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  165. MegaCli -CfgForeign -Dsply [x] | [-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  166. MegaCli -CfgForeign -Preview [x] | [-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  167. MegaCli -CfgForeign -Import [x] | [-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  168. MegaCli -CfgForeign -Clear [x]|[-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  169.         x - index of foreign configurations. Optional. All by default.
  170. MegaCli -AdpEventLog -GetEventLogInfo -aN|-a0,1,2|-aALL
  171. MegaCli -AdpEventLog -GetEvents {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  172. MegaCli -AdpEventLog -GetSinceShutdown {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  173. MegaCli -AdpEventLog -GetSinceReboot {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  174. MegaCli -AdpEventLog -IncludeDeleted {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  175. MegaCli -AdpEventLog -GetLatest n {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  176. MegaCli -AdpEventLog -GetCCIncon -f <fileName> -LX|-L0,2,5...|-LALL -aN|-a0,1,2|-aALL
  177. MegaCli -AdpEventLog -Clear -aN|-a0,1,2|-aALL
  178. MegaCli -AdpBbuCmd -aN|-a0,1,2|-aALL  
  179. MegaCli -AdpBbuCmd -GetBbuStatus -aN|-a0,1,2|-aALL  
  180. MegaCli -AdpBbuCmd -GetBbuCapacityInfo -aN|-a0,1,2|-aALL  
  181. MegaCli -AdpBbuCmd -GetBbuDesignInfo -aN|-a0,1,2|-aALL  
  182. MegaCli -AdpBbuCmd -GetBbuProperties -aN|-a0,1,2|-aALL  
  183. MegaCli -AdpBbuCmd -BbuLearn -aN|-a0,1,2|-aALL  
  184. MegaCli -AdpBbuCmd -BbuMfgSleep -aN|-a0,1,2|-aALL  
  185. MegaCli -AdpBbuCmd -BbuMfgSeal -aN|-a0,1,2|-aALL  
  186. MegaCli -AdpBbuCmd -SetBbuProperties -f <fileName> -aN|-a0,1,2|-aALL
  187. MegaCli -AdpFacDefSet -aN
  188. MegaCli -AdpFwFlash -f filename [-NoSigChk] [-NoVerChk] -aN|-a0,1,2|-aALL  
  189. MegaCli -AdpGetConnectorMode -ConnectorN|-Connector0,1|-ConnectorAll -aN|-a0,1,2|-aALL  
  190. MegaCli -AdpSetConnectorMode -Internal|-External|-Auto -ConnectorN|-Connector0,1|-ConnectorAll -aN|-a0,1,2|-aALL  
  191. MegaCli -PhyErrorCounters -aN|-a0,1,2|-aALL  
  192. MegaCli -DirectPdMapping -Enbl|-Dsbl|-Dsply -aN|-a0,1,2|-aALL  
  193. MegaCli -PDCpyBk -Start -PhysDrv[E0:S0,E1:S1] -aN|-a0,1,2|-aALL
  194. MegaCli -PDCpyBk -Stop|-ShowProg|-ProgDsply -PhysDrv[E0:S0] -aN|-a0,1,2|-aALL
  195. MegaCli -PDInstantSecureErase -PhysDrv[E0:S0,E1:S1,...] | [-Force] -aN|-a0,1,2|-aALL
  196. MegaCli -LDMakeSecure -Lx|-L0,1,2,...|-Lall -aN|-a0,1,2|-aALL
  197. MegaCli -DeleteSecurityKey | [-Force] -aN
  198. MegaCli -CreateSecurityKey -Passphrase sssssssssss [-KeyID kkkkkkkkkkk] -aN
  199. MegaCli -CreateSecurityKey useEKMS -aN
  200. MegaCli -ChangeSecurityKey -OldPassphrase sssssssssss | -Passphrase sssssssssss |
  201.           [-KeyID kkkkkkkkkkk] -aN
  202. MegaCli -ChangeSecurityKey -Passphrase sssssssssss |
  203.           [-KeyID kkkkkkkkkkk] -aN
  204. MegaCli -ChangeSecurityKey useEKMS -oldPassphrase sssssssssss -aN
  205. MegaCli -ChangeSecurityKey -useEKMS -aN
  206. MegaCli -GetKeyID [-PhysDrv[E0:S0]] -aN
  207. MegaCli -SetKeyID -KeyID kkkkkkkkkkk -aN
  208. MegaCli -VerifySecurityKey -Passphrase sssssssssss -aN
  209. MegaCli -GetPreservedCacheList -aN|-a0,1,2|-aALL
  210. MegaCli -DiscardPreservedCache -Lx|-L0,1,2|-Lall -force -aN|-a0,1,2|-aALL
  211.  
  212.                 [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aN
  213. MegaCli -CfgCacheCadeAdd -Physdrv[E0:S0,...] {-Name LdNamestring} -aN|-a0,1,2|-aALL
  214. MegaCli -CfgEachDskRaid0 [WT|WB] [NORA|RA|ADRA] [Direct|Cached]
  215.         [CachedBadBBU|NoCachedBadBBU] [-strpszM]|[Secure] [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aN|-a0,1,2|-aALL
  216. MegaCli -CfgClr -aN|-a0,1,2|-aALL
  217. MegaCli -CfgDsply -aN|-a0,1,2|-aALL
  218. MegaCli -CfgLdDel -LX|-L0,2,5...|-LALL -aN|-a0,1,2|-aALL
  219. MegaCli -CfgCacheCadeDel -LX|-L0,2,5...|-LALL -aN|-a0,1,2|-aALL
  220. MegaCli -CfgFreeSpaceinfo -aN|-a0,1,2|-aALL
  221. MegaCli -CfgSpanAdd -r10 -Array0[E0:S0,E1:S1] -Array1[E0:S0,E1:S1] [-ArrayX[E0:S0,E1:S1] ...]
  222.         [WT|WB] [NORA|RA|ADRA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU]
  223.         [-szXXX[-szYYY ...]][-strpszM][-AfterLdX][-Force]|[Secure]
  224.                 [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aN
  225. MegaCli -CfgSpanAdd -r50 -Array0[E0:S0,E1:S1,E2:S2,...] -Array1[E0:S0,E1:S1,E2:S2,...]
  226.         [-ArrayX[E0:S0,E1:S1,E2:S2,...] ...] [WT|WB] [NORA|RA|ADRA] [Direct|Cached]
  227.         [CachedBadBBU|NoCachedBadBBU][-szXXX[-szYYY ...]][-strpszM][-AfterLdX][-Force]|
  228.         [Secure] [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aNMegaCli -CfgAllFreeDrv -rX [-SATAOnly] [-SpanCount XXX] [WT|WB] [NORA|RA|ADRA]
  229.         [Direct|Cached] [CachedBadBBU|NoCachedBadBBU] [-strpszM]
  230.         [-HspCount XX [-HspType -Dedicated|-EnclAffinity|-nonRevertible]]|
  231.         [Secure] [-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] -aN
  232. MegaCli -CfgSave -f filename -aN  
  233. MegaCli -CfgRestore -f filename -aN  
  234. MegaCli -CfgForeign -Scan | [-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  235. MegaCli -CfgForeign -Dsply [x] | [-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  236. MegaCli -CfgForeign -Preview [x] | [-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  237. MegaCli -CfgForeign -Import [x] | [-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  238. MegaCli -CfgForeign -Clear [x]|[-Passphrase sssssssssss] -aN|-a0,1,2|-aALL    
  239.         x - index of foreign configurations. Optional. All by default.
  240. MegaCli -AdpEventLog -GetEventLogInfo -aN|-a0,1,2|-aALL
  241. MegaCli -AdpEventLog -GetEvents {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  242. MegaCli -AdpEventLog -GetSinceShutdown {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  243. MegaCli -AdpEventLog -GetSinceReboot {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  244. MegaCli -AdpEventLog -IncludeDeleted {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  245. MegaCli -AdpEventLog -GetLatest n {-info -warning -critical -fatal} {-f <fileName>} -aN|-a0,1,2|-aALL
  246. MegaCli -AdpEventLog -GetCCIncon -f <fileName> -LX|-L0,2,5...|-LALL -aN|-a0,1,2|-aALL
  247. MegaCli -AdpEventLog -Clear -aN|-a0,1,2|-aALL
  248. MegaCli -AdpBbuCmd -aN|-a0,1,2|-aALL  
  249. MegaCli -AdpBbuCmd -GetBbuStatus -aN|-a0,1,2|-aALL  
  250. MegaCli -AdpBbuCmd -GetBbuCapacityInfo -aN|-a0,1,2|-aALL  
  251. MegaCli -AdpBbuCmd -GetBbuDesignInfo -aN|-a0,1,2|-aALL  
  252. MegaCli -AdpBbuCmd -GetBbuProperties -aN|-a0,1,2|-aALL  
  253. MegaCli -AdpBbuCmd -BbuLearn -aN|-a0,1,2|-aALL  
  254. MegaCli -AdpBbuCmd -BbuMfgSleep -aN|-a0,1,2|-aALL  
  255. MegaCli -AdpBbuCmd -BbuMfgSeal -aN|-a0,1,2|-aALL  
  256. MegaCli -AdpBbuCmd -SetBbuProperties -f <fileName> -aN|-a0,1,2|-aALL
  257. MegaCli -AdpFacDefSet -aN
  258. MegaCli -AdpFwFlash -f filename [-NoSigChk] [-NoVerChk] -aN|-a0,1,2|-aALL  
  259. MegaCli -AdpGetConnectorMode -ConnectorN|-Connector0,1|-ConnectorAll -aN|-a0,1,2|-aALL  
  260. MegaCli -AdpSetConnectorMode -Internal|-External|-Auto -ConnectorN|-Connector0,1|-ConnectorAll -aN|-a0,1,2|-aALL  
  261. MegaCli -PhyErrorCounters -aN|-a0,1,2|-aALL  
  262. MegaCli -DirectPdMapping -Enbl|-Dsbl|-Dsply -aN|-a0,1,2|-aALL  
  263. MegaCli -PDCpyBk -Start -PhysDrv[E0:S0,E1:S1] -aN|-a0,1,2|-aALL
  264. MegaCli -PDCpyBk -Stop|-ShowProg|-ProgDsply -PhysDrv[E0:S0] -aN|-a0,1,2|-aALL
  265. MegaCli -PDInstantSecureErase -PhysDrv[E0:S0,E1:S1,...] | [-Force] -aN|-a0,1,2|-aALL
  266. MegaCli -LDMakeSecure -Lx|-L0,1,2,...|-Lall -aN|-a0,1,2|-aALL
  267. MegaCli -DeleteSecurityKey | [-Force] -aN
  268. MegaCli -CreateSecurityKey -Passphrase sssssssssss [-KeyID kkkkkkkkkkk] -aN
  269. MegaCli -CreateSecurityKey useEKMS -aN
  270. MegaCli -ChangeSecurityKey -OldPassphrase sssssssssss | -Passphrase sssssssssss |
  271.           [-KeyID kkkkkkkkkkk] -aN
  272. MegaCli -ChangeSecurityKey -Passphrase sssssssssss |
  273.           [-KeyID kkkkkkkkkkk] -aN
  274. MegaCli -ChangeSecurityKey useEKMS -oldPassphrase sssssssssss -aN
  275. MegaCli -ChangeSecurityKey -useEKMS -aN
  276. MegaCli -GetKeyID [-PhysDrv[E0:S0]] -aN
  277. MegaCli -SetKeyID -KeyID kkkkkkkkkkk -aN
  278. MegaCli -VerifySecurityKey -Passphrase sssssssssss -aN
  279. MegaCli -GetPreservedCacheList -aN|-a0,1,2|-aALL
  280. MegaCli -DiscardPreservedCache -Lx|-L0,1,2|-Lall -force -aN|-a0,1,2|-aALL
  281.  
  282.        sssssssssss  - It must be between eight and thirty-two
  283.                       characters and contain at least one number,
  284.                       one lowercase letter, one uppercase
  285.                       letter and one non-alphanumeric character.
  286.        kkkkkkkkkkk -  Must be less than 256 characters.
  287. MegaCli -ShowSummary [-f filename] -aN
  288. MegaCli -ELF -GetSafeId -aN|-a0,1,2|-aALL
  289. MegaCli -ELF -ControllerFeatures -aN|-a0,1,2|-aALL
  290. MegaCli -ELF -Applykey key <-val> [Preview] -aN|-a0,1,2|-aALL
  291. MegaCli -ELF -TransferToVault -aN|-a0,1,2|-aALL
  292. MegaCli -ELF -DeactivateTrialKey -aN|-a0,1,2|-aALL
  293. MegaCli -ELF -ReHostInfo -aN|-a0,1,2|-aALL
  294. MegaCli -ELF -ReHostComplete -aN|-a0,1,2|-aALL
  295. MegaCli -LDViewMirror -Lx|-L0,1,2,...|-Lall -aN|-a0,1,2|-aALL
  296. MegaCli -LDJoinMirror -DataSrc <val> [-force] -Lx|-L0,1,2,...|-Lall -aN|-a0,1,2|-aALL
  297.  
  298.     Note: The directly connected drives can be specified as [:S]
  299.  
  300.     Wildcard '?' can be used to specify the enclosure ID for the drive in the
  301.       only enclosure without direct connected device or the direct connected
  302.       drives with no enclosure in the system.
  303.  
  304.       Note:[-aALL] option assumes that the parameters specified are valid
  305.        for all the Adapters.
  306.  
  307.     The following options may be given at the end of any command above:
  308.  
  309.     [-Silent] [-AppLogFile filename] [-NoLog] [-page[N]]
  310.                  [-] is optional.
  311.                   N - Number of lines per page.
  312.  
  313. Exit Code: 0x00