Member-only story
LVM & RAID in Linux
LVM or Logical Volume Manager is mainly used to convert default static disk to dynamic and also to convert multiple disks into a single larger size disk. LVM applies RAID 0 (data will be equally sent to all disks, if one disk fails than all data lost)
static partition :
Fixed size and blocks allocated from starting point to ending point
dyanmic partition :
Fixed size but blocks may shift their starting and ending point
dynamic partitioning can increase the disk speed and we can user multiple disks together
The stages of dynamic partitioning ->
- Create partitions
- Convert it into PV (Physical Volumes)
- Create VG (Volume Groups)
- Create LV (Logical Volumes)
Than mount LV’s and use
Step by Step conversion to dynamic partitions
1) Install LVM
yum install lvm22) Create Physical Volume
To create physical volume
pvcreate <partition-location>To see physical volumes
pvdisplay





