How to create a LVM in linux

--

You can create/resize/delete LVM partitions.

No need to reboot the system to make the kernel aware of the newly-created or resized partitions.

If you have more than one hard-disk, Logical Volumes can extend over more than one disk

  1. First list the hard disk

Check the PV, VG, LV.

PV- Physical Volume

VG- Volume Group

LV- Logical Volume

Create PV & SV & LG

Created the LVM

Check PV, VG, LG

Check the path fdisk -l

Format the disk

Check the path

Finally mount a drive

Umount the device

Another way to mount

/dev/mapper/Test-create- OS understand the name

/dev/Test/Create- Logical volume understand the name

--

--

Always learning
Always learning

Written by Always learning

கற்றுக் கொள்ளும் மாணவன்...

No responses yet