User Tools

Site Tools


it_tips:storcliqr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
it_tips:storcliqr [2020/06/09 17:41]
florido [List specific volume info]
it_tips:storcliqr [2020/06/12 12:46] (current)
florido [MegaRAID storCLI quick reference]
Line 1: Line 1:
 ====== MegaRAID storCLI quick reference ​ ====== ====== MegaRAID storCLI quick reference ​ ======
  
-binary usually located in '/​opt/​MegaRAID/​storcli/​storcli64'​+binary usually located in ''/​opt/​MegaRAID/​storcli/​storcli64''
  
 ===== Useful commands ===== ===== Useful commands =====
Line 41: Line 41:
  
 ==== Get specific Physical drive info ==== ==== Get specific Physical drive info ====
 +
 +GHS = Global Hot Spare
  
 <code bash>​storcli /c0/e133/s0 show all</​code>​ <code bash>​storcli /c0/e133/s0 show all</​code>​
  
 +<code bash>​storcli /c0/pall show all</​code>​
 +==== Create Volume ====
 +
 +details:
 +  * raid6
 +  * name alicedisk
 +  * drives: enclosure:​drive 0 to 6
 +  * Strip: 1MB
 +
 +<code bash>​storcli /c0 add vd r6 name=alicedisk drives=133:​0-6 Strip=1024</​code>​
 +
 +==== Check background activity ====
 +
 +Usually initialization or rebuild. Weird thing is that initialization is not shown properly when in background mode.
 +
 +<code bash>​storcli/​c0/​v0 show bgi</​code>​
 +<code bash>​storcli/​c0/​v0 show init</​code>​
 +
 +==== setup hotspare ====
 +
 +One needs to identify the enclosure for this to work and list all physical drives.
 +
 +This adds s7 
  
 +<code bash>​storcli /c0/e133/s7 add hotsparedrive</​code>​
  
 +==== Consistency check status (remember to schedule!) ====
  
 +<code bash>​storcli /c0 show cc</​code>​
  
it_tips/storcliqr.1591724501.txt.gz ยท Last modified: 2020/06/09 17:41 by florido

Accessibility Statement