Operating System - HP-UX
1833783 Members
3331 Online
110063 Solutions
New Discussion

extend lv that is striped

 
SOLVED
Go to solution
RJA
Advisor

extend lv that is striped

Hi.
I have a VG group with 5 physical disks.the disk size is 1389MB (13GB). There is approx 3Gb free in the VG. The logical volumes are using striping. the number of stripes is 5.
I need to extend on LV which is currently 34GB is size by an additional 20GB. I do have 5 free 13GB disks that I can add to the VG. Can the LV be extended using the new disks? Any gotcha's to consider?

3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: extend lv that is striped

You plan will work as long as you do not exceed max_pv for the VG -- and I rather doubt that you overrode the default 16 to a smaller value when you created the VG.

Since you are stripping 5 way, you aren't mirroring so the biggest risk to your method is that the loss of any drive -- which will now be 10 -- will result in the loss of the LVOL. I wouldn't like to be in your position depending on 10 drives to function for any length of time. If these are array LUN's and mirroring is done on the array then your risks are minimal but if these are conventional disks then you are sitting on the tracks and the train is coming.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: extend lv that is striped

Shalom,

I thought the max_pv default for a vg ws 255. Maybe I'm wrong. Not that you need my input but the plan looks good.

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
RJA
Advisor

Re: extend lv that is striped

Thanks.