[linux-lvm] Resend: API for retrieving linux lvm information

Stanley Yue stanley.yue at gmail.com
Wed Sep 8 23:51:20 UTC 2004

Thanks, Alasdair.

I'll indeed look into using LVM2.

I'm using Redhat AS 3.0. 

Will the lvm2 rpm from Fedora Core work?
When will lvm2 be officially part of Redhat Enterprise Linux?
How can i upgrade from an LVM1 system to LVM2? Is it just a matter of
upgrading the rpm?



On Wed, 8 Sep 2004 10:35:18 +0100, Alasdair G Kergon <agk at redhat.com> wrote:
> On Tue, Sep 07, 2004 at 06:39:24PM -0700, Stanley Yue wrote:
> > As far as the parsing goes, is it better (in terms of compatibility,
> > output stability) to parse against the command line output (i.e.
> > lvdisplay) or against the /proc/filesystems (i.e.
> > /proc/lvm/VGs/vg00/LVs)?
> My answer was for LVM2.
> Looks like you're using LVM1.
> To simplify your future upgrade you should consider using LVM2 tools
> lvs/pvs/vgs read-only even on an LVM1 installation as their output is
> designed to be easy to parse.
> Alasdair
> --
> agk at redhat.com

More information about the linux-lvm mailing list