Disk Enclosures
1758230 Members
2931 Online
108868 Solutions
New Discussion юеВ

Re: Using hpacucli to mirror drives across MDS600 drawers

 
Adam Garsha
Valued Contributor

Using hpacucli to mirror drives across MDS600 drawers

How can I create a raid 1+0 group that mirrors drives across my two mds600 drawers using hpacucli?

Namely, I am not sure how to specify that the mirrors should for example be:

M1 == 51:1:1 mirrors 53:1:1
M2 == 51:1:2 mirrors 53:1:2
...
M8 == 51:1:8 mirrors 53:1:8

and then stripe across all M1->M8?

I want to avoid having mirrors in same drawer of mds, so I don't want any: 51:1:1 mirrors 51:*:*.

My unassigned drives looks like so:

physicaldrive 51:1:1 (port 51:box 1:bay 1, SAS, 2 TB, OK)
physicaldrive 51:1:2 (port 51:box 1:bay 2, SAS, 2 TB, OK)
physicaldrive 51:1:3 (port 51:box 1:bay 3, SAS, 2 TB, OK)
physicaldrive 51:1:4 (port 51:box 1:bay 4, SAS, 2 TB, OK)
physicaldrive 51:1:5 (port 51:box 1:bay 5, SAS, 2 TB, OK)
physicaldrive 51:1:6 (port 51:box 1:bay 6, SAS, 2 TB, OK)
physicaldrive 51:1:7 (port 51:box 1:bay 7, SAS, 2 TB, OK)
physicaldrive 51:1:8 (port 51:box 1:bay 8, SAS, 2 TB, OK)
physicaldrive 53:1:1 (port 53:box 1:bay 1, SAS, 2 TB, OK)
physicaldrive 53:1:2 (port 53:box 1:bay 2, SAS, 2 TB, OK)
physicaldrive 53:1:3 (port 53:box 1:bay 3, SAS, 2 TB, OK)
physicaldrive 53:1:4 (port 53:box 1:bay 4, SAS, 2 TB, OK)
physicaldrive 53:1:5 (port 53:box 1:bay 5, SAS, 2 TB, OK)
physicaldrive 53:1:6 (port 53:box 1:bay 6, SAS, 2 TB, OK)
physicaldrive 53:1:7 (port 53:box 1:bay 7, SAS, 2 TB, OK)
physicaldrive 53:1:8 (port 53:box 1:bay 8, SAS, 2 TB, OK)

Something like this?:

controller slot=2 create type=ld drives=51:1:1,53:1:1,51:1:2,53:1:2... raid=1+0 stripesize=default

Or would it go like this?:

controller slot=2 create type=ld drives=51:1:1,51:1:2,... raid=1+0 stripesize=default

 

 

P.S. This thread has been moved from General to Disk array. - Hp Forum moderator

3 REPLIES 3
Adam Garsha
Valued Contributor

Re: Using hpacucli to mirror drives across MDS600 drawers

Based on this link:

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c02552363&jumpid=reg_R1002_USEN

And these experiments.

=> ctrl slot=2 create type=ld drives=51:1:1,53:1:1 raid=1 stripesize=default
=> ctrl slot=2 ld all show detail
Smart Array P700m in Slot 2

array A

Logical Drive: 1
Size: 1.8 TB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 128 KB
Status: OK
MultiDomain Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B100104839535A433042520000
Disk Name: /dev/cciss/c0d0
Mount Points: None
Logical Drive Label: AE506202PAPWV0H9SZC0BR3DFB
Mirror Group 0:
physicaldrive 51:1:1 (port 51:box 1:bay 1, SAS, 2 TB, OK)
Mirror Group 1:
physicaldrive 53:1:1 (port 53:box 1:bay 1, SAS, 2 TB, OK)

=>

=> ctrl slot=2 array A delete

Warning: Deleting an array can cause other array letters to become renamed.
E.g. Deleting array A from arrays A,B,C will result in two remaining
arrays A,B ... not B,C


Warning: Deleting the specified device(s) will result in data being lost.
Continue? (y/n) y

=> ctrl slot=2 ld all show detail

Error: The specified device does not have any logical drives.

=> ctrl slot=2 create type=ld drives=51:1:1,53:1:1,51:1:2,53:1:2 raid=1+0 stripesize=default
=> ctrl slot=2 ld all show detail

Smart Array P700m in Slot 2

array A

Logical Drive: 1
Size: 3.6 TB
Fault Tolerance: RAID 1+0
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 128 KB
Status: OK
MultiDomain Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B100104839535A433042520001
Disk Name: /dev/cciss/c0d0
Mount Points: None
Logical Drive Label: AE5062ACPAPWV0H9SZC0BRC5D0
Mirror Group 0:
physicaldrive 51:1:1 (port 51:box 1:bay 1, SAS, 2 TB, OK)
physicaldrive 51:1:2 (port 51:box 1:bay 2, SAS, 2 TB, OK)
Mirror Group 1:
physicaldrive 53:1:1 (port 53:box 1:bay 1, SAS, 2 TB, OK)
physicaldrive 53:1:2 (port 53:box 1:bay 2, SAS, 2 TB, OK)

=>

My first syntax is the trick that is needed. Namely "drives=disk_from_left_drawer,disk_from_right_drawer,disk_from_left_drawer2,disk_from_right_drawer2,...".
Adam Garsha
Valued Contributor

Re: Using hpacucli to mirror drives across MDS600 drawers

Actually, now I am finding that hpacucli pays no attention to the order of drives in the listing. How can I pick which drives are mirrored to which drives? Any ideas?
Adam Garsha
Valued Contributor

Re: Using hpacucli to mirror drives across MDS600 drawers

Based on the link from above. I went ahead and rebooted and the default will now mirror across drawers. Still it would be nice if I could say exactly what I want to happen with the tool vs. having to depend on HP algorithm.