LVM Stripping

 
SOLVED
Go to solution
Joe415
Contributor

LVM Stripping

Hello

I want to create a volume group with 1 logical volume. We are running HP 11.23 and have an XP24K for storage. I have 20 luns each are 50GB in size and I want a stripe size of 1024KB.What is the best way to do this? Should I do the stipping when I create the volume group or when I create the logical volume? Also is this stripe size too large?

Thanks for any help

Joe
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: LVM Stripping

I don't know if this makes much sense, because the XP will stripe the data anyway.

Stripes are configured on LVOL level, 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!   
Geoff Wild
Honored Contributor

Re: LVM Stripping

You stripe at the lvol level

lvcreate -i 20 -I 1024 -L SIZE -n NAME /dev/vgXX

For my sapdata lvols, I striped at 128 across 7 x 72GB luns

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Torsten.
Acclaimed Contributor

Re: LVM Stripping

IMHO you can do the most of performance tuning on the XP side of the line, if you stripe or not will only have a minor effect.

But it depends on many items and background conditions, so with that less information there is almost nothing to advise except talking to your storage network folks.

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!   
Steven E. Protter
Exalted Contributor

Re: LVM Stripping

Shalom Joe,

It has been proven over the years that configuring RAID on the hardware side provides better overall performance than software striping.

Better to use the CPU and bandwidth on the XP device than LVM.

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
Geoff Wild
Honored Contributor
Solution

Re: LVM Stripping

Yes - hardware striping is better - but we found that "double striping" sometimes gives you another performance gain on large databases...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Joe415
Contributor

Re: LVM Stripping

Thanks All!!