FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 03-11-2009, 02:31 AM
drew einhorn
 
Default LSI Logic MegaRAID 8480 Storage controller

On Tue, Mar 10, 2009 at 6:18 PM, Joseph L. Casale
<JCasale@activenetwerx.com> wrote:
>>I bet you didn't learn the syntax from the manual.
>>I'll bet you inherited some scripts from someone else,
>>and learned by tweaking working scripts.
>
> Uhm, I learned from the manual. I am tempted to fire one
> up and just figure it out...

Next I'm trying to setup a raid-10 logical volume.

Got the two mirrors built.
Now I need to stripe them

Here's an excerpt from -LDPDInfo
I just added a little white space it makes the output much more readable.
And I deleted the stuff about other Logical Drives

+ /home/drew/bin/MegaCli -LDPDInfo -a0

Adapter #0

Number of Virtual Disks: 5
.
.
.

Virtual Disk: 3 (Target Id: 2)
Name:
RAID Level: Primary-1, Secondary-0, RAID Level Qualifier-0
Size:285148MB
State: Optimal
Stripe Size: 128kB
Number Of Drives:2
Span Depth:1
Default Cache Policy: WriteBack, ReadAheadNone, Direct, No Write
Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No
Write Cache if Bad BBU
Access Policy: Read/Write
Disk Cache Policy: Disk's Default
Encryption Type: None
Number of Spans: 1
Span: 0 - Number of PDs: 2

PD: 0 Information
Enclosure Device ID: 11
Slot Number: 3
Device Id: 5
Sequence Number: 12
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 286102MB [0x22ecb25c Sectors]
Non Coerced Size: 285590MB [0x22dcb25c Sectors]
Coerced Size: 285148MB [0x22cee000 Sectors]
Firmware state: Online
SAS Address(0): 0x5000c500072b15a1
SAS Address(1): 0x0
Connected Port Number: 4(path0)
Inquiry Data: IBM-ESXSST3300655SS BA263LM2M7RN1026BA26
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Foreign State: None
Media Type: Hard Disk Device

PD: 1 Information
Enclosure Device ID: 11
Slot Number: 4
Device Id: 6
Sequence Number: 12
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 286102MB [0x22ecb25c Sectors]
Non Coerced Size: 285590MB [0x22dcb25c Sectors]
Coerced Size: 285148MB [0x22cee000 Sectors]
Firmware state: Online
SAS Address(0): 0x5000c500072b14c1
SAS Address(1): 0x0
Connected Port Number: 4(path0)
Inquiry Data: IBM-ESXSST3300655SS BA263LM2QDNP1026BA26
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Foreign State: None
Media Type: Hard Disk Device

Virtual Disk: 4 (Target Id: 4)
Name:
RAID Level: Primary-1, Secondary-0, RAID Level Qualifier-0
Size:285148MB
State: Optimal
Stripe Size: 128kB
Number Of Drives:2
Span Depth:1
Default Cache Policy: WriteBack, ReadAheadNone, Direct, No Write
Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No
Write Cache if Bad BBU
Access Policy: Read/Write
Disk Cache Policy: Disk's Default
Encryption Type: None
Number of Spans: 1
Span: 0 - Number of PDs: 2

PD: 0 Information
Enclosure Device ID: 11
Slot Number: 5
Device Id: 7
Sequence Number: 10
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 286102MB [0x22ecb25c Sectors]
Non Coerced Size: 285590MB [0x22dcb25c Sectors]
Coerced Size: 285148MB [0x22cee000 Sectors]
Firmware state: Online
SAS Address(0): 0x5000c500072b2081
SAS Address(1): 0x0
Connected Port Number: 4(path0)
Inquiry Data: IBM-ESXSST3300655SS BA263LM2TCW71026BA26
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Foreign State: None
Media Type: Hard Disk Device

PD: 1 Information
Enclosure Device ID: 11
Slot Number: 6
Device Id: 8
Sequence Number: 10
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 286102MB [0x22ecb25c Sectors]
Non Coerced Size: 285590MB [0x22dcb25c Sectors]
Coerced Size: 285148MB [0x22cee000 Sectors]
Firmware state: Online
SAS Address(0): 0x5000c500072b1ed5
SAS Address(1): 0x0
Connected Port Number: 4(path0)
Inquiry Data: IBM-ESXSST3300655SS BA263LM2RPS41026BA26
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Foreign State: None
Media Type: Hard Disk Device

+ /home/drew/bin/MegaCli -CfgSpanAdd -R10 -Array0[11:3,11:4]
-Array1[11:5,11:6] -a0

Drives are not consistent with Disk Group.

Doesn't look like it liked the way I specified the mirrors!

MegaCli –CfgSpanAdd -aN|-a0,1,2|-aALL -R10|-R50|R60 –
Array0[E0:S0,E1:S1,...] –Array1[E0:S0,E1:S1,...] [...] [WT | WB]
[NORA | RA | ADRA] [Direct | Cached] [CachedBadBBU|NoCachedBadBBU] [-
szXXXXXXXX [-szYYYYYYYY [... ]]] [-strpszM] [–afterLdX] -aN

Hmm. The -aN|-a0,1,2|-aALL part looks completely bogus

The Arrays look right to me.
Will set some different polices, etc after I get this part working!



--
Drew Einhorn
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 03-11-2009, 03:55 AM
"Joseph L. Casale"
 
Default LSI Logic MegaRAID 8480 Storage controller

>Drives are not consistent with Disk Group.
>
>Doesn't look like it liked the way I specified the mirrors!

I really can't remember, but for some reason I think in the GUI
you span then mirror, but in the cli you do it one pass. Dump the
two ld's and try that command over.

I really can't remember, it's been several months since I set an
array up and the only machines running LSI's at the moment are
esxi boxes so I can't execute the cli anymore.

jlc
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 03-11-2009, 04:30 AM
John R Pierce
 
Default LSI Logic MegaRAID 8480 Storage controller

Joseph L. Casale wrote:
>> Drives are not consistent with Disk Group.
>>
>> Doesn't look like it liked the way I specified the mirrors!
>>
>
> I really can't remember, but for some reason I think in the GUI
> you span then mirror, but in the cli you do it one pass. Dump the
> two ld's and try that command over.
>

indeed, most of the hardware raid controllers I've used of late, you
just pick 4 or more drives and build a 'raid-1' and it automatically
does the mirror/stripe thing for you.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 03-11-2009, 01:26 PM
"Joseph L. Casale"
 
Default LSI Logic MegaRAID 8480 Storage controller

>+ /home/drew/bin/MegaCli -AdpPRSetDelay 168 -a0
>^MInvalid input at or near token -AdpPRSetDelay
>
>Doesn't like the syntax

Looks like the manual is outdated, you should have
ran a -h

Turns out this is the correct syntax:

MegaCli -AdpPR -Dsbl|EnblAuto|EnblMan|Start|Stop|Info|{SetDelay Val}
-aN|-a0,1,2|-aALL

MegaCli -AdpPR -SetDelay X -a0
where X is between 0 and 65535...


jlc
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 03-11-2009, 03:11 PM
drew einhorn
 
Default LSI Logic MegaRAID 8480 Storage controller

On Wed, Mar 11, 2009 at 8:26 AM, Joseph L. Casale
<JCasale@activenetwerx.com> wrote:
>>+ /home/drew/bin/MegaCli -AdpPRSetDelay 168 -a0
>>^MInvalid input at or near token -AdpPRSetDelay
>>
>>Doesn't like the syntax
>
> Looks like the manual is outdated, you should have
> ran a -h
>

Hmm.

I've seen a bunch of bad syntax in the manual.
Can't trust the manual.

Haven't looked at the -h
Will probably have better luck there.

> Turns out this is the correct syntax:
>
> MegaCli -AdpPR -Dsbl|EnblAuto|EnblMan|Start|Stop|Info|{SetDelay Val}
> * * * * -aN|-a0,1,2|-aALL
>
> MegaCli -AdpPR -SetDelay X -a0
> where X is between 0 and 65535...
>
>
> jlc
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



--
Drew Einhorn
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 05:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org