OPS245 Lab 5: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= LVM Overview =") |
|||
Line 1: | Line 1: | ||
= LVM Overview = | = LVM Overview = | ||
A fixed partitioning setup works fine in many scenarios, but it lacks a lot of flexibility. Using LVM we can avoid the slow and complicated process you've seen in the previous lab, when we tried to extend the size of a partition. | |||
Here's a comparison of how a physical storage device is used in the traditional setup (the one we've worked with in lab 4) and in LVM: | |||
{| class="wikitable" | |||
!Traditional partitioning | |||
!LVM | |||
! | |||
! | |||
|- | |||
| | |||
* Connect new physical device. | |||
* Create partitions on the device. | |||
* Format the partitions. | |||
* Mount the formatted partitions. | |||
| | |||
* Connect new physical device. | |||
* Mark the device to be used as a physical volume in LVM. | |||
* Add the physical volume to a volume group. | |||
* Create a logical volume. | |||
* Format the logical volume. | |||
* Mount the logical volume. | |||
| | |||
| | |||
|} |
Revision as of 15:27, 3 March 2023
LVM Overview
A fixed partitioning setup works fine in many scenarios, but it lacks a lot of flexibility. Using LVM we can avoid the slow and complicated process you've seen in the previous lab, when we tried to extend the size of a partition.
Here's a comparison of how a physical storage device is used in the traditional setup (the one we've worked with in lab 4) and in LVM:
Traditional partitioning | LVM | ||
---|---|---|---|
|
|