1753774 Members
7175 Online
108799 Solutions
New Discussion юеВ

Re: Linux LVM2

 
SOLVED
Go to solution
Nath_3
Frequent Advisor

Linux LVM2

Hi,

I was wondering is there any command to check whether LVM2 is installed or not. Also please let me know whether LVM2 comes default with Linux. Please let me know on which versions is it available.

Thanks in advance

PRN
6 REPLIES 6
Patrick Wallek
Honored Contributor
Solution

Re: Linux LVM2

If your Linux is one of those that uses rpm packages, then I suppose you could try:

# rpm -qa | grep -i lvm

and see what turns up. I don't know if the package names have LVM2 in them or not, but this could be a starting point.
Nath_3
Frequent Advisor

Re: Linux LVM2

Thanks Patrick. Command worked. I would like to know on which versions is it available.

PRN
Adam W.
Valued Contributor

Re: Linux LVM2

If you are asking which versions the RPM command is available? Definately All Red Hat (considering Reh Hat developed it. Have you looked into yum or up2date? Both are useful. I know all of the below versions use RPM AIX (v4), Novell NetWare, Fedora, Mandriva Linux and derivatives: AltLinux,PCLinuxOS,Linux for PlayStation 2,Red Flag Linux,Red Hat Enterprise Linux and derivatives:CentOS
ASPLinux, Scientific Linux, SUSE, Linux/openSUSE, ArkLinux, Yellow Dog Linux
PLD Linux Distribution, Linux XP
TurboLinux,openmamba.
There are two types of people in the world, Marines and those who wish they were.
Ralph Grothe
Honored Contributor

Re: Linux LVM2

>I would like to know on which versions is it available.

$ rpm -q --qf "%{version}\n" lvm2
2.02.16
Madness, thy name is system administration
skt_skt
Honored Contributor

Re: Linux LVM2

LVM2 comes with RHEL 4 and above
Jeeshan
Honored Contributor

Re: Linux LVM2

simple buddy. run this command

#lvm version
a warrior never quits