Documentation for a newer release is available. View Latest

LVM 이해

LVM (논리 볼륨 관리) 파티션은 표준 파티션에 비해 많은 이점을 제공합니다. LVM 파티션은 물리적 볼륨으로 초기화됩니다. 하나 이상의 물리적 볼륨이 결합되어 볼륨그룹을 형성합니다. 각 볼륨 그룹의 총 저장장치는 하나 이상의 논리적 볼륨으로 나뉩니다. 논리 볼륨은 표준 파티션과 같이 유사하게 작동합니다. `ext4`와 적재지점과 같은 파일 시스템 유형을 가지고 있습니다.

The boot loader cannot read LVM volumes. You must make a standard, non-LVM disk partition for your /boot partition.

By default, the installation process always creates the / and swap partitions within LVM volumes, with a separate /boot on a standard partition. See Recommended Partitioning Scheme for details.

To understand LVM better, imagine the physical volume as a pile of blocks. A block is a storage unit used to store data. Several piles of blocks can be combined to make a much larger pile, just as physical volumes are combined to make a volume group. The resulting pile can be subdivided into several smaller piles of arbitrary size, just as a volume group is allocated to several logical volumes.

An administrator may grow or shrink logical volumes without destroying data, unlike standard disk partitions. If the physical volumes in a volume group are on separate drives or RAID arrays then administrators may also spread a logical volume across the storage devices.

You may lose data if you shrink a logical volume to a smaller capacity than the data on the volume requires. To ensure maximum flexibility, create logical volumes to meet your current needs, and leave excess storage capacity unallocated. You may safely grow logical volumes to use unallocated space, as your needs dictate.