Operating System - HP-UX
1834650 Members
1967 Online
110069 Solutions
New Discussion

lvextend LV created with Extent Based Mirror Stripes?

 
SOLVED
Go to solution
Chris Gromala
Advisor

lvextend LV created with Extent Based Mirror Stripes?

Is there any way to use lvextend to extend a LV that was created with the Distributed Allocation policy with extent based mirror stripes??
3 REPLIES 3
Satish Y
Trusted Contributor
Solution

Re: lvextend LV created with Extent Based Mirror Stripes?

Yes,
Try following commands:

lvextend -l

lvextend -m

umount

extendfs (like /dev/vg00/rlvol1)

mount

Cheers....
Satish.
Difference between good and the best is only a little effort
waknine
New Member

Re: lvextend LV created with Extent Based Mirror Stripes?

you have to modify the /etc/lvmpg file to add any pv and after you use lvextend command with pvg name

A+
Marc

Re: lvextend LV created with Extent Based Mirror Stripes?

Chris,
As stated with extend based stripping lvextend will be looking for the vgname your extending to be in the /etc/lvmpvg file. If it isn't you can create one (note no comment lines allowed) for vg02 example:

VG /dev/vg02
PVG PVG02
/dev/dsk/c10t0d0
/dev/dsk/c10t0d1
...
...

Also you should check with lvdisplay -v /dev/vg02/lvol# to see what the disk striping order was, then make /etc/lvmpvg match this. I know we alter the start drive so that the lvols in the vg don't start all on the same one.

then
# lvextend -l <#total> /dev/vg02/lvol<#> PVG02
# extendfs -F /dev/vg02/lvol#

later,
john creighton
for RC ( John Creighton )