Linux Administration/Devices and Filesystems/LVM

LVM available in Linux allows manage multiple physical volumes or entire hard disks. It supports among other functionalities:
 * Create single logical volumes of multiple physical volumes or entire hard disks
 * Add or remove volumes/disk dynamically
 * Increase or decrease size of Logical Volumes (LVs)
 * Create snapshots

LVM introduces the concept of Volume Groups (VGs) and Logical Volumes (LVs).

Basic commands

 * List Volume Groups:
 * List logical volumes:, /lvdisplay/
 * Resize LV:
 * Resize LV:


 * Display commands:


 * Create commands:


 * Ls commands:,  ,
 * Scan commands: ,
 * PV commands:,  ,  ,   or
 * LV commands:, lvconvert
 * VG commands:,  ,  ,
 * LVM commands:

Advanced commands

 * — Change attributes of the Logical Volume Manager.
 * — Scan for all devices visible to LVM2.
 * — Create lvm2 information dumps for diagnostic purposes.

Basic

 * 1) Read StackOverflow LVMs questions: https://superuser.com/questions/tagged/lvm?tab=Votes
 * 2) Configure an LVM Volume with an ext File Sytem: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_administration/s1-lvmsetupnfs-haaa

Advanced
Before doing these exercises make your you have a backup of your data.
 * 1) Convert a Linear Device to a RAID device: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_and_managing_logical_volumes/index#proc_converting-linear-to-raid-configure-manage-raid