Logical Volume Manager (Linux): Difference between revisions

no edit summary
(Created page with "Logical Volume Manager (LVM) ==Usage==")
 
No edit summary
Line 1: Line 1:
Logical Volume Manager (LVM)
Logical Volume Manager (LVM) is a way to format your drives which allows you to easily resize partitions, take snapshots, and stripe partitions across multiple disks. Many operations can also be done online while the partition is mounted.


===Background===
Volume groups span one or more physical volumes.<br>
Logical volumes are the final partitions which you put a filesystem on. Each logical volume lies on a single volume group.
==Usage==
==Usage==
===Logical Volume===
<pre>
# Show
sudo lvs
# Create
lvcreate -l +100%FREE MyVolGroup -n homevol
# Resize
lvresize -l +100%FREE --resizefs MyVolGroup/mediavol
</pre>
==Resources==
* [[Archwiki: LVM]]