Operating System - HP-UX
1820879 Members
3965 Online
109628 Solutions
New Discussion юеВ

stripe size option on lvextend

 
SOLVED
Go to solution
TOMAS BERNABEU
Frequent Advisor

stripe size option on lvextend

what's the -I option (stripe size) ??
size stripe by disk or on the all disk ??
9 REPLIES 9
Uday_S_Ankolekar
Honored Contributor

Re: stripe size option on lvextend

Hi,
A logical volume (LV) can be set up to be 'striped' across multiple
disks, although the default condition is unstriped. When you stripe a
LV across multiple disks, each stripe can consist of as many or few
extents as you wish. The stripe size you choose will depend on the
contents of your LV and how the data is accessed

-USA..
Good Luck..
Craig Rants
Honored Contributor

Re: stripe size option on lvextend

Tomas,
The lvextend command refers to a logical volume, so the striping will only take place on the the logical volume level. Thus it is possible to have a stripe on a disk, two disks, where the logical volume exists, thats were the stripe size applies.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
S.K. Chan
Honored Contributor

Re: stripe size option on lvextend

You mean "-l" option ? That's size of extent specified in #extents vs "-L" which is size specified in MBs. Both applies to size of stripe if you choose to stripe.
TOMAS BERNABEU
Frequent Advisor

Re: stripe size option on lvextend

example :

lvcreate -i 4 -I 64 .....

64 k by disk or 16+16+16+16 ??????
John Palmer
Honored Contributor
Solution

Re: stripe size option on lvextend

In your example, 64k on each disk.

Regards,
John
S.K. Chan
Honored Contributor

Re: stripe size option on lvextend

lvcreate then not lvextend ..

that would be 64K by disk
MANOJ SRIVASTAVA
Honored Contributor

Re: stripe size option on lvextend

Hi Tomas

Stripe is essentially a set of PE's which can be acroso different Physical disks which constitute a single volume group , ie if you have like 4 disks in a volume grouip you can cretae a logical volume which extednds across these four disks ie striped across , this make the response better as you can have same volume group acrss diffetn controllers. So in case you give a -I 4 option the lvol will start with the first disk and then use the second and so on.

Manoj Srivastava
MANOJ SRIVASTAVA
Honored Contributor

Re: stripe size option on lvextend

Tomas

Sorry for the typo it should read -i 4 , and the stripe size can be in multiples of PE , in you case yes 64K per disk .


Manoj Srivastava
Bill Slaughter
Occasional Contributor

Re: stripe size option on lvextend

I am trying to get the best performance for my Oracle Database (Oracle Apps 10.7).

For a given physical I/O how much will LVM read in if we use the different strip sizes?

What is mean is:

1) Oracle app is reading a bock of data.

2a) LVM 64k stripe is used
2b) LVM 128K stripe size is used
2c) LVM "Distributed" 4MB PE size

Is LVM reading from disk any different amount based upon the stripe/distributed size?

Thanks