Editing
RAID Cards
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Perc4: via CLI === Make sure (to allow addcfg): dev.amr.0.allow_volume_configure: 1 List drives <pre>megarc -LogPhysInfo -a0 Finding Devices On Each MegaRAID Adapter... Scanning Ha 0, Chnl 1 Target 15 Adapter No 0 : Total Logical Drive(s)- 1 Logical drive 0: RaidLevel 1 Physical Drive Information Channel 0 139900MB drive scsi ID 0 CoerSZ: 286515200(Sectors) 139900(MB) RawSZ: 286749487(Sectors) 139900MB drive scsi ID 1 CoerSZ: 286515200(Sectors) 139900(MB) RawSZ: 286749487(Sectors) 69880MB drive scsi ID 2 CoerSZ: 143114240(Sectors) 69880(MB) RawSZ: 143374649(Sectors) 69880MB drive scsi ID 3 CoerSZ: 143114240(Sectors) 69880(MB) RawSZ: 143374649(Sectors)</pre> Before: <pre>megarc -ldInfo -a0 -lall Finding Devices On Each MegaRAID Adapter... Scanning Ha 0, Chnl 1 Target 15 *******Information Of Logical Drive 0******* Logical Drive : 0( Adapter: 0 ): Status: OPTIMAL --------------------------------------------------- SpanDepth :01 RaidLevel: 1 RdAhead : Adaptive Cache: CachedIo StripSz :064KB Stripes : 2 WrPolicy: WriteBack Logical Drive 0 : SpanLevel_0 Disks Chnl Target StartBlock Blocks Physical Target Status ---- ------ ---------- ------ ---------------------- 0 00 0x00000000 0x1113e000 ONLINE 0 01 0x00000000 0x1113e000 ONLINE</pre> After:<br> This will add a new mirror from drives located in the 2nd and 3rd slots (make sure in sh): <pre>sh megarc -addCfg -a0 -R1[0:2,0:3] WB RAA CIO -strpsz64 megacli ldinfo lall a0 *******Information Of Logical Drive 0******* Logical Drive : 0( Adapter: 0 ): Status: OPTIMAL --------------------------------------------------- SpanDepth :01 RaidLevel: 1 RdAhead : Adaptive Cache: CachedIo StripSz :064KB Stripes : 2 WrPolicy: WriteBack Logical Drive 0 : SpanLevel_0 Disks Chnl Target StartBlock Blocks Physical Target Status ---- ------ ---------- ------ ---------------------- 0 00 0x00000000 0x1113e000 ONLINE 0 01 0x00000000 0x1113e000 ONLINE *******Information Of Logical Drive 1******* Logical Drive : 1( Adapter: 0 ): Status: OPTIMAL --------------------------------------------------- SpanDepth :01 RaidLevel: 1 RdAhead : Adaptive Cache: CachedIo StripSz :064KB Stripes : 2 WrPolicy: WriteBack Logical Drive 1 : SpanLevel_0 Disks Chnl Target StartBlock Blocks Physical Target Status ---- ------ ---------- ------ ---------------------- 0 02 0x00000000 0x0887c000 ONLINE 0 03 0x00000000 0x0887c000 ONLINE</pre> Initialize the drive: <pre>megarc -initLd -a0 -l1 ********************************************************************** Monitoring Initialization on Adapter No 0 ********************************************************************** LD00: LD01:000% LD02: LD03: LD04: LD05: LD06: LD07: LD08: LD09: LD10: LD11: LD12: LD13: LD14: LD15: LD16: LD17: LD18: LD19: LD20: LD21: LD22: LD23: LD24: LD25: LD26: LD27: LD28: LD29: LD30: LD31: LD32: LD33: LD34: LD35: LD36: LD37: LD38: LD39: ********************************************************************** Monitoring Initialization on Adapter No 0 ********************************************************************** LD00: LD01:100% LD02: LD03: LD04: LD05: LD06: LD07: LD08: LD09: LD10: LD11: LD12: LD13: LD14: LD15: LD16: LD17: LD18: LD19: LD20: LD21: LD22: LD23: LD24: LD25: LD26: LD27: LD28: LD29: LD30: LD31: LD32: LD33: LD34: LD35: LD36: LD37: LD38: LD39:</pre> (back to shell, continues in bg) to see: megarc -ViewBICCProg -a0 Can't delete that mirror: <pre>megarc -DelLd -a0 -l1 ********************************************************************** MEGARC MegaRAID Configuration Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA ********************************************************************** [Note: For SATA-2, 4 and 6 channel controllers, please specify Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] Type ? as command line arg for help Finding Devices On Each MegaRAID Adapter... Scanning Ha 0, Chnl 1 Target 15 Failed to delete logical drive 1 on adapter 0</pre> Check consistency: <pre>megarc -chkonLd -a0 -l0 ********************************************************************** Monitoring Check Consistency on Adapter No 0 ********************************************************************** LD00:000% LD01: LD02: LD03: LD04: LD05: LD06: LD07: LD08: LD09: LD10: LD11: LD12: LD13: LD14: LD15: LD16: LD17: LD18: LD19: LD20: LD21: LD22: LD23: LD24: LD25: LD26: LD27: LD28: LD29: LD30: LD31: LD32: LD33: LD34: LD35: LD36: LD37: LD38: LD39:</pre> (spits out new screen every few sec) To watch again after cancelling: megarc -ViewBICCProg -a0
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information