LSI StorCLI: Difference between revisions

From VVCWiki
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 55: Line 55:


<pre>
<pre>
# /opt/MegaRAID/storcli/storcli64 /c0 /v1 start init
# /opt/MegaRAID/storcli/storcli64 /c0 /v1 start init full
</pre>
 
* Change write cache policy to WriteBack
 
<pre>
# /opt/MegaRAID/storcli/storcli64 /c0 /v1 set wrcache=wb
</pre>
</pre>



Revision as of 19:23, 14 March 2018

  • Check physical disks
# /opt/MegaRAID/storcli/storcli64 /c0 /eall /sall show
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.


Drive Information :
=================

-------------------------------------------------------------------------
EID:Slt DID State DG       Size Intf Med SED PI SeSz Model            Sp 
-------------------------------------------------------------------------
20:1      8 Onln   0 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:2      9 Onln   0 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:3     10 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:4     11 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:5     12 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:6     13 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:7     14 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:8     15 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:9     16 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:10    17 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:11    18 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  
20:12    19 UGood  - 837.258 GB SAS  HDD N   N  512B ST900MM0006      U  

  • Create RAID10 from available disks
# /opt/MegaRAID/storcli/storcli64 /c0 add vd type=r10 size=all drives=20:3-12 pdperarray=2 pdcache=on strip=64
  • Check Logical drive status
# /opt/MegaRAID/storcli/storcli64 /c0 /v1 show
Controller = 0
Status = Success
Description = None


Virtual Drives :
==============

----------------------------------------------------------
DG/VD TYPE   State Access Consist Cache sCC     Size Name 
----------------------------------------------------------
1/1   RAID10 Optl  RW     No      RaWBD -   4.087 TB      
----------------------------------------------------------
  • Initialize RAID
# /opt/MegaRAID/storcli/storcli64 /c0 /v1 start init full
  • Change write cache policy to WriteBack
# /opt/MegaRAID/storcli/storcli64 /c0 /v1 set wrcache=wb
  • Initiate consistency check
# /opt/MegaRAID/storcli/storcli64 /c0 /v1 start cc

# /opt/MegaRAID/storcli/storcli64 /c0 /v1 show cc
Controller = 0
Status = Success
Description = None


VD Operation Status :
===================

-----------------------------------
VD Operation Progress% Status      
-----------------------------------
 1 CC                1 In progress 
-----------------------------------

  • change CC rate
# /opt/MegaRAID/storcli/storcli64 /c0 set ccrate=10

Controller = 0
Status = Success
Description = None


Controller Properties :
=====================

----------------
Ctrl_Prop Value 
----------------
CC Rate   10%   
----------------
  • Change CC schedule
# /opt/MegaRAID/storcli/storcli64 /c0 set cc=seq delay=1344 starttime=2016/08/14 04

Controller = 0
Status = Success
Description = None


Controller Properties :
=====================

---------------------------------
Ctrl_Prop    Value               
---------------------------------
CC Mode      SEQ                 
CC delay     1344                
CC Starttime 2016/08/14 04:00:00 
---------------------------------

  • Create file system
# mkfs.xfs -L splunk -f -d su=64k,sw=5,agsize=$((45725424*4096)) /dev/vg1/splunk