Logical Volume Manager (Linux): Difference between revisions
Created page with "Logical Volume Manager (LVM) ==Usage==" |
|||
(One intermediate revision by the same user not shown) | |||
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/blocks which you put your filesystem on. | |||
==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]] |