第 4 章 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 第 6 章 LVM 配置示例.
For descriptions of the CLI commands you can use to perform LVM administration, see 第 5 章 用 CLI 命令管理 LVM. Alternately, you can use the LVM GUI, which is described in 第 8 章 用 LVM GUI 进行 LVM 管理.

4.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 High Availability Add-On and Resilient Storage Add-On software, including the clvmd daemon, must be started at boot time, as described in 第 2.4 节 “群集逻辑卷管理器(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 systems that have access to the shared storage. It is possible to create volume groups in which all of the storage devices are visible to only one node in the cluster. It is also possible to change the status of a volume group from a local volume group to a clustered volume group. For information, see 第 5.3.3 节 “在群集中创建卷组” and 第 5.3.8 节 “修改卷组参数”

警告

When you create volume groups with CLVM on shared storage, you must ensure that all nodes in the cluster have access to the physical volumes that constitute the volume group. Asymmetric cluster configurations in which some nodes have access to the storage and others do not are not supported.
For information on how to install the High Availability Add-On and set up the cluster infrastructure, see Cluster Administration.
For an example of creating a mirrored logical volume in a cluster, see 第 6.5 节 “Creating a Mirrored LVM Logical Volume in a Cluster”.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat