Logical Volume Manager (Linux): Difference between revisions
No edit summary |
|||
Line 4: | Line 4: | ||
Volume groups span one or more physical volumes.<br> | Volume groups span one or more physical volumes.<br> | ||
Logical volumes are the final partitions which you put | Logical volumes are the final partitions/blocks which you put your filesystem on. | ||
==Usage== | ==Usage== | ||
Latest revision as of 06:15, 15 January 2023
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.
Logical volumes are the final partitions/blocks which you put your filesystem on.
Usage
Logical Volume
# Show sudo lvs # Create lvcreate -l +100%FREE MyVolGroup -n homevol # Resize lvresize -l +100%FREE --resizefs MyVolGroup/mediavol