Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

stripping

Kgreen
Advisor

stripping

Hello experts,

I have create a volume group without the -g options and also created a logical volume without the distributed stripping. Now I need to change the logical volumes to have distributed stripping. I was told that I will have to break the vg and recreate the all the logical volumes. Is there anyway to achive this?. The status of my present logical volume is
LV Name /dev/vg02FIL/lv1
VG Name /dev/vg02FIL
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2560
Current LE 160
Allocated PE 160
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default


I need it to have distributed stipping over 4 disks


2 REPLIES
Hein van den Heuvel
Honored Contributor

Re: stripping

This topic has been discussed before.
Google: +lvm +"extent based striping"
Check out topisc like:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1011364
and
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=490589

So how many disks do you have and how are they defined?

What does /etc/lvmpvg look like?

Check out man lvcreate
Notably the -D and -i + -I options.

Sample online reference:
http://docs.hp.com/en/B2355-90905/B2355-90905.pdf


Good luck,
Hein.
Coolmar
Esteemed Contributor

Re: stripping

The step of creating a striped logical volume is accomplished in nearly the identical way as creating any other logical volume through the use of the lvcreate command.

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 will automatically round 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 will create a 204MB logical volume since 200 is not a multiple of 12.

http://docs.hp.com/en/B2355-90672/ch08s07.html?btnNext=next%A0%BB