LVM Basics


Logical volume manger provides flexibilty to the system administrator to manage storage volumes. Storage volumes created under LVM can be resized,moved on the fly.

There are 2 versions of LVM in linux
– LVM 2
– LVM 1

LVM Architecture:

lvm_basics

Types of LVM

-linear volumes
-striped volumes
-mirrored volumes
 

Installing LVM in centos7:

[root@server1 ~]# rpm -qa |grep lvm
[root@server1 ~]# yum install lvm2
[root@server1 ~]# rpm -qa |grep lvm
lvm2-libs-2.02.105-14.el7.x86_64
lvm2-2.02.105-14.el7.x86_64

 

[root@server1 ~]# lvm version
LVM version: 2.02.105(2)-RHEL7 (2014-03-26)
Library version: 1.02.84-RHEL7 (2014-03-26)
Driver version: 4.27.0

Its better to reboot the server after the LVM installation.