LVM Logical Volume Manager
Complete guide to LVM (Logical Volume Manager) for Linux systems. Learn disk management, volume creation, resizing, and advanced storage solutions.
Articles in LVM Logical Volume Manager
-
How to remove PV/VG/LV → lvremove; vgremove; pvremove
Learn how to safely remove LVM components using lvremove, vgremove, and pvremove commands. Complete guide with examples, troubleshooting, and best practices.
-
How to extend VG → vgextend vg0 /dev/sdY
Learn how to extend LVM Volume Groups using vgextend command. Complete guide with step-by-step instructions, examples, troubleshooting, and best practices.
-
How to reduce LV (careful) → lvreduce -r -L 20G /dev/vg0/lv0
Learn how to safely reduce LVM logical volume size using lvreduce command. Complete guide with examples, troubleshooting, and best practices for Linux administrators.
-
How to extend LV online → lvextend -r -L +10G /dev/vg0/lv0
Learn how to extend LVM logical volumes online using lvextend command. Complete guide with step-by-step instructions, examples, and troubleshooting tips.
-
How to list PVs/VGs/LVs → pvs; vgs; lvs
Learn how to list Physical Volumes, Volume Groups, and Logical Volumes in Linux using pvs, vgs, and lvs commands. Complete guide with examples and troubleshooting.
-
How to create PV/VG/LV → pvcreate /dev/sdX; vgcreate vg0 /dev/sdX; lvcreate -L 20G -n lv0 vg0
Learn how to create Physical Volumes, Volume Groups, and Logical Volumes in Linux using LVM commands: pvcreate, vgcreate, and lvcreate with examples.