LSI StorCLI: Difference between revisions
From VVCWiki
Jump to navigationJump to search
mNo edit summary |
No edit summary |
||
Line 56: | Line 56: | ||
<pre> | <pre> | ||
# /opt/MegaRAID/storcli/storcli64 /c0 /v1 start init | # /opt/MegaRAID/storcli/storcli64 /c0 /v1 start init | ||
</pre> | |||
* Create file system | |||
<pre> | |||
# mkfs.xfs -L splunk -f -d su=64k,sw=5,agsize=$((45725424*4096)) /dev/vg1/splunk | |||
</pre> | </pre> |
Revision as of 23:17, 22 March 2014
- 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
- Create file system
# mkfs.xfs -L splunk -f -d su=64k,sw=5,agsize=$((45725424*4096)) /dev/vg1/splunk