On Tue, Mar 10, 2009 at 6:18 PM, Joseph L. Casale <JCasale at 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