Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

3장. LVM 관리 개요

This chapter provides an overview of the administrative procedures you use to configure LVM logical volumes. This chapter is intended to provide a general understanding of the steps involved. For specific step-by-step examples of common LVM configuration procedures, see 5장. LVM 설정 예 .
For descriptions of the CLI commands you can use to perform LVM administration, see 4장. CLI 명령을 사용한 LVM 관리 . Alternately, you can use the LVM GUI, which is described in 7장. LVM GUI를 통한 LVM 관리.

3.1. 클러스터에 LVM 볼륨 생성

To create logical volumes in a cluster environment, you use the Clustered Logical Volume Manager (CLVM), which is a set of clustering extensions to LVM. These extensions allow a cluster of computers to manage shared storage (for example, on a SAN) using LVM. In order to use CLVM, the Red Hat Cluster Suite software, including the clmvd daemon, must be started at boot time, as described in 1.3절. “CLVM (Clustered Logical Volume Manager) ”.
클러스터 환경에서 LVM 논리 볼륨을 생성하는 것은 단일 노드에서 LVM 논리 볼륨을 생성하는 것과 동일합니다. LVM 명령 자체나 LVM GUI 인터페이스에서의 다른점은 없습니다. 클러스터에 생성하려는 LVM 볼륨을 활성화하려면, 클러스터 인프라가 반드시 실행되고 있어야 하며 클러스터는 정족수(quorum)에 달해 있어야 합니다.
CLVM requires changes to the lvm.conf file for cluster-wide locking. Information on configuring the lvm.conf file to support clustered locking is provided within the lvm.conf file itself. For information about the lvm.conf file, see 부록 B. LVM 설정 파일 .
By default, logical volumes created with CLVM on shared storage are visible to all computers that have access to the shared storage. It is possible, however, to create logical volumes when the storage devices are visible to only one node in the cluster. It is also possible to change the status of a logical volume from a local volume to a clustered volume. For information, see 4.3.2절. “클러스터에서 볼륨 그룹 생성 ” and 4.3.7절. “볼륨 그룹의 매개 변수 변경 ”

참고

Red Hat Cluster Suite에서 사용하기 위한 공유 스토리지는 클러스터 논리 볼륨 관리자 데몬 (clvmd) 또는 고가용성 논리 볼륨 관리 에이전트 (HA-LVM)를 실행하고 있을 것을 요청합니다. 운용 상의 이유로 또는 적절한 인타이틀먼트가 없는 관계로 clvmd 데몬이나 HA-LVM을 사용할 수 없을 경우, 공유 디스크에서 단일 인스턴스 LVM을 사용해서는 안됩니다. 이는 데이터 손상을 일으킬 수 있기 때문입니다. 다른 문제가 발생할 경우 Red Hat 서비스 담당자에게 연락하시기 바랍니다.
Red Hat Cluster Suite 설치 및 클라스터 인프라를 설정하는 방법에 대한 내용은 Red Hat Cluster 설정 및 관리에서 참조하시기 바랍니다.