1748177 Members
4434 Online
108758 Solutions
New Discussion юеВ

HP-UX Striping setup

 
SOLVED
Go to solution
Daniel Fourie
Frequent Advisor

HP-UX Striping setup

Hi

I would just like to know how to setup striping on hp-ux.
Knowlage is Power
4 REPLIES 4
Sanjay Kumar Suri
Honored Contributor
Solution

Re: HP-UX Striping setup

Check this post:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=143271

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Shaikh Imran
Honored Contributor

Re: HP-UX Striping setup

hi,

Create the striped logical volume, defining its striping characteristics
using -i and -I options of lvcreate. The number of stripes must
be in the range 2 up to the maximum number of disks in the volume
group. The stripe size, the size of each of the blocks of data that make
up the stripe in kilobytes, must be one of the following: 4, 8, 16, 32, or
64. If you plan to use the striped logical volume for a JFS (VxFS) file
system, then using a block size of 64KB is recommended.
So, suppose you wish to stripe across three disks. You decide on a
stripe size of 32 kilobytes. Your logical volume size is 24 megabytes.
To create the striped logical volume, you would enter:
lvcreate -i 3 -I 32 -L 24 -n lvol1 /dev/vg01
lvcreate automatically rounds up the size of the logical volume to a
multiple of the number of disks times the extent size.
For example, if you have three disks you wish to stripe across and
choose the default of 4MB extents, even though you indicate a logical
volume size of 200 (-L 200 ), lvcreate will create a 204MB logical
volume since 200 is not a multiple of 12.
NOTE When you stripe across multiple disks, the striped volume size cannot
exceed the capacity of the smallest disk multiplied by the number of
disks used in the striping.

Regards,

I'll sleep when i am dead.
Colin Topliss
Esteemed Contributor

Re: HP-UX Striping setup

....bearing in mind that. with LVM striping, you will not be able to move data between physical volumes with pvmove. Small stripe sizes on XP LUNS may cause it the array to think it is seeing random access (which is not good if you are doing sequential read/writes). Extending the lvols is a real pain.

It might be worth you looking at using extent-based striping. The stripe (actually an extent) is larger (min 1Mb, which is not unacceptable for a database nowadays), you can pvmove data between disks, and you can extend the lvols by redistributing the extents (a bit of work involved, but it is possible).
Dave Olker
HPE Pro

Re: HP-UX Striping setup

Hi,

One of the best references for setting up disk striping on HP-UX is the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" found at:

http://www.docs.hp.com/hpux/onlinedocs/5187-2216/5187-2216.html

The section on Setting Up Disk Striping is:

http://www.docs.hp.com/hpux/onlinedocs/5187-2216/00/00/53-con.html#bfiddghg

Hope this helps,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo