×

What is LVM and how to create it on Cent Os?

What is LVM and how to create it on Cent Os?

Logical Volume Management

Logical Volume Management

LVM is a tool for logical volume management which includes allocating disks, striping, mirroring and resizing logical volumes. With LVM, a hard drive or set of hard drives is allocated to one or more physical volumes.

The physical volumes are combined into logical volumes, with the exception of the /boot/ partition.

The /boot/partition cannot be on a logical volume group because the boot loader cannot read it.

If the root (/) partition is on a logical volume, create a separate /boot/ partition which is not a part of a volume group.

Since a physical volume cannot span over multiple drives, to span over more than one drive, create one or more physical volumes per drive.

Centos

The volume groups can be divided into logical volumes, which are assigned mount points. When “partitions” reach their full capacity, free space from the volume group can be added to the logical volume to increase the size of the partition. When a new hard drive is added to the system, it can be added to the volume group, and partitions that are logical volumes can be increased in size.

If a system is partitioned with the ext3 file system, the hard drive is divided into partitions of defined sizes. If a partition becomes full, it is not easy to expand the size of the partition. Even if the partition is moved to another hard drive, the original hard drive space has to be reallocated as a different partition or not used.

For more information visit Ideastack.

Tags: ,

Leave a Reply

Your email address will not be published.