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 「クラスタ化論理ボリュームマネージャ (CLVM)」.
クラスタ環境内で LVM 論理ボリューム作成することは、単独ノード上に LVM 論理ボリュームを 作成することと同じです。LVM コマンドそのものや LVM GUI インターフェイスにはなんの相違も ありません。ただ、クラスタ内に作成している LVM ボリュームを有効にするために、クラスタインフラ ストラクチャが稼働している必要があり、クラスタは定員数以上である必要があります。
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 「クラスタ内のボリュームグループ作成」 and 「ボリュームグループのパラメータ変更」

注記

Red Hat Cluster Suite 内での使用の為の共有ストレージは、クラスター論理ボリューム マネージャデーモン (clvmd) 又は ハイアベイラビリティ論理ボリューム 管理エージェント (HA-LVM) が稼働していることを要求します。運用の理由で、又は、 適切なエンタイトルメントの欠如の為に clvmd デーモンか HA-LVM の いずれかを使用できない場合は、共有ディスク上でシングルインスタンスを使用しては いけません。その理由は、データ破損に継る可能性があるからです。心配であれば、 担当の Red Hat サービス係員までご連絡下さい。
Red Hat Cluster Suite のインストールとクラスタインフラストラクチャのセットアップ方法に ついての情報には、 Red Hat Cluster の設定と管理 をご覧下さい。