1753786 Members
7608 Online
108799 Solutions
New Discussion юеВ

lvmstripe

 
whiz_kid911
Frequent Advisor

lvmstripe

hello
i hv 6 disks avilable from a storage which i ws told by the storage vendor stripe from hpux. please can someone let me know the procedure to go for it
thanks in advance.
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: lvmstripe

Create a VG as usual and create a striped LVOL with lvcreate:

http://docs.hp.com/en/B3921-60631/lvcreate.1M.html

Have a look at "-i" and "-I".

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!   
Sharma Sanjeev
Respected Contributor

Re: lvmstripe

Hi

First You Can create a normal VG, than
lvcreate -L (SIZE) -i 6 -I 1024 -n lvname /dev/vgname disk

where -i( Small i ) is for Strips and -I ( Capital I is for Strip size )

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
whiz_kid911
Frequent Advisor

Re: lvmstripe

hello
thanks for responding

i wd also like to understand,

if i have 6 disks to be striped from hpux - when i wud need additional space - wud i hv to present the disks in the multiples of 6 to match the striped number of disks ?

also can someone xplain the difference between lvcreate -i -l parameters and /etc/lvmpvg.

Torsten.
Acclaimed Contributor

Re: lvmstripe

Yes, you need space on all 6 disks to extend lvols.

lvmpvg is used for mirroring handling, see

man lvmpvg

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!   
SKR_1
Trusted Contributor

Re: lvmstripe

Yes, if you are making a 6 way stripes, then at the time of more additional space needed, you would have to add 6 more disks in the volume group and extend the lvol among on these new disks.

-i stands fro the number of stripes ( here you need to give 6)

-I stand for size of the stripe ( such as 64, 256, 512 or 1024KB)
whiz_kid911
Frequent Advisor

Re: lvmstripe

hi torsten

so that wud mean that if i run out of space in the vg, i wud hv to present 6 new disks of same size to extend the lvs effectively?

Sharma Sanjeev
Respected Contributor

Re: lvmstripe

Hi

Guy hp_ux

Please assign points also :-)

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
SKR_1
Trusted Contributor

Re: lvmstripe

yes, u need to add 6 new disks of same size.

thanks,

SKR