Storage Boards Cleanup
To make it easier to find information about HPE Storage products and solutions, we are doing spring cleaning. This includes consolidation of some older boards, and a simpler structure that more accurately reflects how people use HPE Storage.
cancel
Showing results for 
Search instead for 
Did you mean: 

MSA30 D-B

Jeffrey F. Goldsmith
Super Advisor

MSA30 D-B

I am in the process of setting up my MSA30 D-B on an rp3440-4 server w/HP-UX 11.23. The MSA30 is configured with two channels (A & B) and currently I have three 72GB 15K drives in the first three slots of both channels (A & B). The 3 hard drives on the first channel (A) have been setup and are in use.
I want to setup the second 3 drives on the second channel (B) to mirror the drives on the first channel (A).

How do I do that? I have the mirror software from HP already as I am mirring the two drives in my server.

disk 3 0/4/1/0.0.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 4 0/4/1/0.1.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c6t1d0 /dev/rdsk/c6t1d0
disk 5 0/4/1/0.2.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c6t2d0 /dev/rdsk/c6t2d0
disk 9 0/4/1/1.0.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0
disk 10 0/4/1/1.1.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c7t1d0 /dev/rdsk/c7t1d0
disk 11 0/4/1/1.2.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c7t2d0 /dev/rdsk/c7t2d0
7 REPLIES
John Kufrovich
Honored Contributor

Re: MSA30 D-B

Not difficult, just time consuming.

If you wish to keep your data, then expand your array to include the new 3 drives. Once the expansion is complete. You can do a RAID Migration from RAID 5 to RAID 1+0. The first drives from each bus will be mirrored followed by the next one, down the line.

I would set your expansion to High before doing anything.

jk
Torsten.
Acclaimed Contributor

Re: MSA30 D-B

Hi,

it looks like you are using the disk chassis without a smartarray controller (no problem at all, but different procedure - so the post above does not apply).

The disks on the first channel are

/dev/dsk/c6t0d0
/dev/dsk/c6t1d0
/dev/dsk/c6t2d0

on the second

/dev/dsk/c7t0d0
/dev/dsk/c7t1d0
/dev/dsk/c7t2d0

First find out what disks are in use (vgdisplay -v).

Lets assume you are using the c6... disks in a VG named vg01.

You should create PVs on the "new" disks, e.g.
pvcreate /dev/rdsk/c7t0d0
and add them to your vg01:
vgextend vg01 /dev/dsk/c7t0d0

Now go ahead and mirror the LVOLs:
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c7t0d0
and so on.

You may alternatively use physical volume groups instead of specifying each disk while mirroring. See
http://docs.hp.com/en/B2355-60105/lvmpvg.4.html

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
John Kufrovich
Honored Contributor

Re: MSA30 D-B

Sorry Jeffrey,

Didn't even see the "software mirror" comment in your question. I thought you were trying to perform a Hardware RAID mirror.

Jeffrey F. Goldsmith
Super Advisor

Re: MSA30 D-B

Torsten,

I didnâ t know that my MSA30 D-B had a smartarray controller option. Is that an add on option or something that I should have purchased when I bought the MSA30 D-B?

You are right about how the disk drives are configured on the two different channels and the c6â ¦ disks are in vg01.

Once I do the pvcreate and add the disks to vg01 then I have to do an lvextend to every volume on vg01 to the new disks. Is there an easier way to do that? I was hopping that I could do it with SAM but couldnâ t find a place to do it.

When I create a new volume I am going to have to manually mirror it too, right? What about when I have to increase the size of a volume?
Torsten.
Acclaimed Contributor

Re: MSA30 D-B

The smartarray controller HBA has to be installed in the server. On the rp3440 you can install the SA6404 or SA6402.

It will work the same way like on Proliant servers - more or less.

Regarding the mirroring:
If you create PVGs, (see again http://docs.hp.com/en/B2355-60105/lvmpvg.4.html )
the command will work like this:

lvextend -m 1 /dev/vg01/lvol1 PVG1

(this has to be configured in /etc/lvmpvg file like

VG vg01
PVG PVG1
/dev/dsk/c7t0d0
/dev/dsk/c7t1d0
/dev/dsk/c7t2d0

PVG PVG2
/dev/dsk/c6t0d0
/dev/dsk/c6t1d0
/dev/dsk/c6t2d0

...

Regarding new lvols:

create new lvols with a zero size, mirror it and then extend it, like

lvextend -L 400 /dev/vg01/lvol3

(this will increase the vg01/lvol3 to 400MB, mirrored)



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
John Kufrovich
Honored Contributor

Re: MSA30 D-B

It is an addon option, SA6402 or SA6404. If you elect to go that route, there is no way to use your existing drive configuration.

Jeffrey F. Goldsmith
Super Advisor

Re: MSA30 D-B

I checked my server and there isnt an /etc/lvmpvg file. Is this something I need to create myself?