![]() Those are the names of the volume group and logical volume. ![]() Logical volumes are available as block devices with the names / dev / /, where and. One group of volumes is sufficient for full operation, however, several of them can be created for one’s convenience. When using LVM, consider the following features and limitations:ĭo not place the "/ boot" partition on LVM.Įach physical volume can exist only in a single volume group.Įach logical volume can use space from a single volume group.Ī volume group can consist of one or more physical volumes. Using available space in the group to create or expand logical volumes (LV).įormatting and mounting logical volumes using standard file systems. In LVM terminology, these partitions are referred to as physical volumes (PV).Ĭombining previously allocated space into one logical space by adding physical volumes to a volume group (VG). Generally, LVM configuration process can be divided into the following steps:Īllocating disk space (creating partitions) for the LVM subsystem and its formatting. In case of lack of understanding, please refer to the documentation for the relevant command.Īll necessary packages are already installed by default on most Linux operating systems. Therefore, prior to performing each of them, one should fully understand the meaning of all the actions performed. In this manual, we use the commands the misuse of which can easily lead to complete loss of all data. In addition, we will consider the process of increasing the existing logical volume and its file system by adding disks. ![]() The space on those disks will be used to create two 10 GB partitions that will be formatted to the ext4 file system. As an example, we will use a system where there are 3 disks of 8 GB – /dev/sdc, /dev/sdd and /dev/sde. In this manual, we will consider the simplest example of basic LVM setup and use. ![]() Thus, with help of LVM, one can place one partition on multiple disks or place multiple partitions on one disk. Unlike the classical scheme, when partitions that are used for file systems are created on every disk, LVM allows for combining the space on different disks into a common logical space, which can then be used to create or expand partitions. LVM (logical volume manager) is a special Linux OS subsystem that provides additional options for managing partitions on hard disks. ![]()
0 Comments
Leave a Reply. |