LVM은 Linux 기반 운영 체제에서 디스크 스토리지를 관리하는 데 사용되는 소프트웨어 도구인 Logical Volume Manager의 약자입니다. LVM은 물리적 스토리지 장치(예: 하드 드라이브 또는 EBS 볼륨)와 이를 사용하는 파일 시스템 간의 추상화 계층을 제공하여 스토리지 관리의 유연성을 높입니다.

LVM을 사용하면 물리적 저장 장치가 하나 이상의 논리적 볼륨으로 결합되어 기본 물리적 장치를 다시 분할할 필요 없이 크기를 조정하거나 이동할 수 있습니다. 논리적 볼륨은 하나 이상의 논리적 파티션으로 나눌 수 있으며, 그런 다음 파일 시스템으로 포맷하고 데이터를 저장하는 데 사용할 수 있습니다.

EBS(Amazon Elastic Block Store)에 LVM을 연결하면 EBS 볼륨이 LVM 논리 볼륨의 물리적 장치로 사용되고 있음을 의미합니다. 따라서 기본 EBS 볼륨에 영향을 주지 않고 논리 볼륨의 크기를 조정, 이동 또는 백업할 수 있으므로 EBS 볼륨의 스토리지를 더 유연하게 관리할 수 있습니다. 또한 LVM은 EBS 볼륨에 저장된 데이터의 안정성과 가용성을 개선하는 데 도움이 되는 스냅샷 및 미러링과 같은 기능을 제공할 수 있습니다.

전반적으로 EBS에 LVM을 연결하면 Amazon Web Services에서 실행되는 Linux 기반 시스템에서 스토리지를 관리하는 유용한 방법이 될 수 있으므로 유연성과 관리 용이성이 향상됩니다.

 

(Paying attention to -i option on the command below)

 

Create a logical volume for SAP HANA data:
lvcreate -n lvhanadata -i 3 -I 256 -L 2350G vghanadata
Rounding size x.x TiB up to stripe boundary size x.xx TiB.
Logical volume "lvhanadata" created.

Create a logical volume for SAP HANA log:
lvcreate -n lvhanalog -i 1 -I 256 -L 512G vghanalog
Ignoring stripesize argument with single stripe.
Logical volume "lvhanalog" created.

Create a logical volume for SAP HANA backup
lvcreate -n lvhanaback -i 1 -I 256 -L 4095G vghanaback
Ignoring stripesize argument with single stripe.
Logical volume "lvhanaback" created.

 

LVM stands for Logical Volume Manager, which is a software tool used for managing disk storage on Linux-based operating systems. LVM provides a layer of abstraction between the physical storage devices (such as hard drives or EBS volumes) and the file systems that use them, allowing for greater flexibility in managing storage.

With LVM, physical storage devices are combined into one or more logical volumes, which can then be resized or moved without needing to repartition the underlying physical devices. Logical volumes can also be divided into one or more logical partitions, which can then be formatted with a file system and used to store data.

When associating LVM for EBS (Amazon Elastic Block Store), it means that the EBS volume is being used as a physical device for an LVM logical volume. This allows for greater flexibility in managing the storage on the EBS volume, as logical volumes can be resized, moved, or backed up without affecting the underlying EBS volume. In addition, LVM can provide features such as snapshots and mirroring, which can help improve the reliability and availability of the data stored on the EBS volume.

Overall, associating LVM for EBS can be a useful way to manage storage on Linux-based systems running on Amazon Web Services, providing greater flexibility and ease of management.

'SAP' 카테고리의 다른 글

What is ASCS?  (0) 2023.03.24
what is saptune for SAP?  (0) 2023.03.24
OLTP and OLAP for Hana Database  (0) 2023.03.24

+ Recent posts