I work with Phil, and I'm the one who was actually trying to do this.

The VG consisted of 5 physical volumes, with one LV, 5 stripes.  I added an additional 
volume, but couldn't extend (insufficient physical extents).  After some research, it 
appeared it might work if I
added a total of 5 physical volumes (same as the number of stripes), but that also 
failed.

In the end, I backed up the whole LV, and rebuilt it, but in the process had to make 
it MUCH bigger (28 volumes).  At that point, I couldn't get striping to work at ALL, 
and finally went with an
unstriped volume.

I believe there's just something I don't understand about the LVM and striping, but 
haven't found any explanation.  Can anyone shed some light on this?

> -----Original Message-----
> From: Heinz J . Mauelshagen [mailto:Heinz.Mauelshagen@;T-ONLINE.DE]
> Sent: Friday, October 18, 2002 10:11 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [LINUX-390] FW: striped LVM non-extensible
>
>
> On Thu, Oct 17, 2002 at 08:18:18AM -0500, Montgomery Mouw wrote:
> > Heinz,
> >
> > Do you have any insight on this question?  Thanks.
> >
> > Mo
> >
> > > -----Original Message-----
> > > From: Linux on 390 Port
> [mailto:LINUX-390@;VM.MARIST.EDU]On Behalf Of
> > > Phil Tully
> > > Sent: Thursday, October 17, 2002 7:25 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: striped LVM non-extensible
> > >
> > >
> > > We have moved a large filesystem to a striped LVM (5
> physical volumes, 5
> > > stripes) and now find that one of the advantages of LVM is lost,
> > > non-disruptive expansion.  I wanted to make sure I am
> correct that a
> > > striped LVM can not be expaned without being rebuild?
>
> Phil,
>
> a constraint with LVM1 is that stripes can't be extended beyond
> physical volumes :-(
>
> FYI: that constraint won't exist in LVM2 any longer. LVM2 is or new
>      GPLed code base which will go GA in December and is
> avaolable on Linux
>      2.4 _and_ 2.5 already.
>
> LVM2 is fully metadata compatible with LVM1 so that in-place upgrades
> _without_ any nasty backup/reconfigure/restore cycles are supported.
>
>
> I see 3 options for you now:
>
> - if you have free or can free enough extents of other LVs on
> your 5 PVs -> use
>   pvmove to achieve that and extend your stripes on the given PVs
>
> - if you can add 5 larger PVs to the VG holding the striped LV ->
>   use pvmove to move the stripes to the bigger PVs and extend
> the striped LV
>   afterwards
>
> - if LVM2 is an option for you and you can wait for GA ->
> that's the way to
>   go to extend your striped LV because (as mentioned above)
> stripes can span
>   multiple PVs in LVM2
>
> > >
> > > Phil
> > >
> > >
>
> Regards,
> Heinz    -- The LVM Guy --
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=-=-=-=-=-
>
> Heinz Mauelshagen                                 Sistina
> Software Inc.
> Senior Consultant/Developer                       Am Sonnenhang 11
>                                                   56242 Marienrachdorf
>                                                   Germany
> [EMAIL PROTECTED]                           +49 2626 141200
>                                                        FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=-=-=-=-=-
>

Reply via email to