how find out if distro installed LVM?

Carl Lowenstein cdl at proxima.ucsd.edu
Tue Sep 10 12:39:45 PDT 2002


> Date: Tue, 10 Sep 2002 10:57:54 -0700
> From: Tracy R Reed <treed at ultraviolet.org>
> To: kplug-list at kernel-panic.org
> Subject: Re: how find out if distro installed LVM?
> In-Reply-To: <20020910174555.GB14030 at spawar.navy.mil>; from seberino at spawar.navy.mil on Tue, Sep 10, 2002 at 10:45:55AM -0700
>
>
> On Tue, Sep 10, 2002 at 10:45:55AM -0700, seberino at spawar.navy.mil spake th=
> usly:
> > I have a RedHat variant distro and I want
> > to know if it installed LVM.  (It is ext3).
>
> Which RedHat variant? The filesystem is irrelevant.
>
> > Is there some command I can run to see
> > if LVM was installed when I installed the distro???
>
> You can see if some typical LVM commands are installed like vgchange etc.
> But that doesn't mean your disk is configured with LVM.
> You can do a df and see if you have LVM-ish device names instead of the
> standard sda and hda device names.

How about the standard 
	rpm -qa | grep lvm

assuming that LVM stuff comes in packages with "lvm" in their name.
That should at least tell you if it is installed.

    carl




More information about the KPLUG-List mailing list