Operating System - HP-UX
1753611 Members
5673 Online
108797 Solutions
New Discussion юеВ

Re: How to stripe and mirror on HP storage works EVA BOX

 
SOLVED
Go to solution
Stacy Olewiler_1
Occasional Advisor

How to stripe and mirror on HP storage works EVA BOX

We want to mirror and stripe (1 Mb) across 5/5 (total of 10) 146 Gb disks. we are having difficulty getting both. We were trying during the lvcreate. we are and do not want to use PUGs. It is suggested and discussed in and Oracle Paper but it is mostly all theory.

When we thought we had it the lvdisplay shows stripes = 0 ...... help....Stacy
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: How to stripe and mirror on HP storage works EVA BOX

Shalom,

Striing is handled on the EVA box itself. They have a control workstation, a DL380 and you set up LUNS with striping on that.

The OS is not aware of the raid configuration and can not display it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stacy Olewiler_1
Occasional Advisor

Re: How to stripe and mirror on HP storage works EVA BOX

Steve,

Sorry, I said EVA but meant MSA. Through looking at further threads and docs it appears that I will have to use PVGs after all. In the past we have either striped OR mirrored not both.

Therefore I am on the hook hot an heavy to do this and I have never done before.

Thanks

P.S. Can any one give a base list of the steps and I can fill in the blanks
Steven E. Protter
Exalted Contributor

Re: How to stripe and mirror on HP storage works EVA BOX

The MSA has a utility that ships with it for windows and Linux. It can be downloaded.

This lets you set up the storage in raid 1 or 5 or how you want. I'm not aware of an HP-UX version.

However its the same deal. The OS is not aware of the striping.

This can be done by software but its more efficient to do it on the MSA array.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: How to stripe and mirror on HP storage works EVA BOX

The MSA has a utility that ships with it for windows and Linux. It can be downloaded.

This lets you set up the storage in raid 1 or 5 or how you want. I'm not aware of an HP-UX version.

However its the same deal. The OS is not aware of the striping.

This can be done by software but its more efficient to do it on the MSA array.

ftp://ftp.compaq.com/pub/products/storageworks/msa1000/MSA1000BPv42.pdf
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00264598/c00264598.pdf

Also note that system won't work well without the most up to date firmware.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sandman!
Honored Contributor
Solution

Re: How to stripe and mirror on HP storage works EVA BOX

PVGs is the only way to go if you want striping plus mirroring. With PVGs you can do extent-based mirrored stripes. Check out the lvcreate(1M) and lvmpvg(4) manpages for more info. Max stripe size is 64Kb not 1Mb and see steps below.

-- Create a VG for ex. vgnew
# mkdir /dev/vgnew
# mknod /dev/vgnew/group c 64 0xNN0000


-- pvcreate all LUNs for LVM use
# pvcreate /dev/rdsk/c#t#d#


-- Edit /etc/lvmpvg and create the PVGs as shown
VG /dev/vgnew
PVG PVG0
/dev/dsk/c1t0d0
/dev/dsk/c1t0d1
/dev/dsk/c1t0d2
/dev/dsk/c1t0d3
/dev/dsk/c1t0d4
PVG PVG1
/dev/dsk/c2t0d0
/dev/dsk/c2t0d1
/dev/dsk/c2t0d2
/dev/dsk/c2t0d3
/dev/dsk/c2t0d4

-- Create a 1Gb lvol striped across 5 disks and mirrored across 5 disks.
# lvcreate -L 1024 -i 5 -I 64 -m 1 -s g /dev/vgnew

~hope it helps
Torsten.
Acclaimed Contributor

Re: How to stripe and mirror on HP storage works EVA BOX

OK, it is not an EVA.
But what kind of MSA?
MSA1000/MSA1500/MSA30?

Just in case of a MSA30 without a smartarray controller - you should set up stripes or "distributed" LVOLs, see

http://docs.hp.com/en/B2355-60105/lvcreate.1M.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!   
Jean-Marc Eurin
New Member

Re: How to stripe and mirror on HP storage works EVA BOX

Hello Stacy,

Just to let you know that LVM Stripping & Mirroring of logical volumes at a smaller granularity than the extent level is available in 11i v3, and should be available on 11i v2 soon.

My 2 cents,

Jean-Marc
Stacy Olewiler_1
Occasional Advisor

Re: How to stripe and mirror on HP storage works EVA BOX

Thank you everyone for your input. Sorry some of the info was not correct at 1st.
this is our 1st attempt at this. I think we have it now. Stacy
Stacy Olewiler_1
Occasional Advisor

Re: How to stripe and mirror on HP storage works EVA BOX

Thanks Stacy