搜索

第 3 章 LVM 管​​​​​​​理​​​​​​​总​​​​​​​览​​​​​​​

download PDF
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 配​​​​​​​置​​​​​​​示​​​​​​​例​​​​​​​.

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)”.
在​​​​​​​群​​​​​​​集​​​​​​​环​​​​​​​境​​​​​​​中​​​​​​​创​​​​​​​建​​​​​​​ 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 第 4.3.2 节 “在​​​​​​​群​​​​​​​集​​​​​​​中​​​​​​​创​​​​​​​建​​​​​​​卷​​​​​​​组​​​​​​​” and 第 4.3.7 节 “修​​​​​​​改​​​​​​​卷​​​​​​​组​​​​​​​参​​​​​​​数​​​​​​​”

注意

红​​​​​​​帽​​​​​​​群​​​​​​​集​​​​​​​套​​​​​​​件​​​​​​​中​​​​​​​使​​​​​​​用​​​​​​​的​​​​​​​共​​​​​​​享​​​​​​​存​​​​​​​储​​​​​​​要​​​​​​​求​​​​​​​您​​​​​​​正​​​​​​​在​​​​​​​运​​​​​​​行​​​​​​​群​​​​​​​集​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​管​​​​​​​理​​​​​​​器​​​​​​​守​​​​​​​护​​​​​​​进​​​​​​​程​​​​​​​(clvmd)或​​​​​​​者​​​​​​​高​​​​​​​度​​​​​​​可​​​​​​​用​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​管​​​​​​​理​​​​​​​代​​​​​​​理​​​​​​​(HA-LVM)。​​​​​​​如​​​​​​​果​​​​​​​由​​​​​​​于​​​​​​​操​​​​​​​作​​​​​​​原​​​​​​​因​​​​​​​您​​​​​​​无​​​​​​​法​​​​​​​使​​​​​​​用​​​​​​​ clvmd 守​​​​​​​护​​​​​​​进​​​​​​​程​​​​​​​或​​​​​​​者​​​​​​​ HA-LVM 之​​​​​​​一​​​​​​​,或​​​​​​​者​​​​​​​因​​​​​​​为​​​​​​​您​​​​​​​没​​​​​​​有​​​​​​​正​​​​​​​确​​​​​​​的​​​​​​​权​​​​​​​利​​​​​​​,您​​​​​​​就​​​​​​​不​​​​​​​能​​​​​​​在​​​​​​​共​​​​​​​享​​​​​​​磁​​​​​​​盘​​​​​​​中​​​​​​​使​​​​​​​用​​​​​​​单​​​​​​​一​​​​​​​事​​​​​​​件​​​​​​​ LVM,因​​​​​​​为​​​​​​​这​​​​​​​将​​​​​​​导​​​​​​​致​​​​​​​数​​​​​​​据​​​​​​​崩​​​​​​​溃​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​您​​​​​​​有​​​​​​​任​​​​​​​何​​​​​​​疑​​​​​​​问​​​​​​​请​​​​​​​联​​​​​​​络​​​​​​​您​​​​​​​的​​​​​​​红​​​​​​​帽​​​​​​​服​​​​​​​务​​​​​​​代​​​​​​​表​​​​​​​。​​​​​​​
有​​​​​​​关​​​​​​​如​​​​​​​何​​​​​​​安​​​​​​​装​​​​​​​红​​​​​​​帽​​​​​​​群​​​​​​​集​​​​​​​套​​​​​​​件​​​​​​​以​​​​​​​及​​​​​​​设​​​​​​​置​​​​​​​群​​​​​​​集​​​​​​​构​​​​​​​架​​​​​​​的​​​​​​​详​​​​​​​情​​​​​​​请​​​​​​​参​​​​​​​考​​​​​​​《​​​​​​​配​​​​​​​置​​​​​​​和​​​​​​​管​​​​​​​理​​​​​​​红​​​​​​​帽​​​​​​​群​​​​​​​集​​​​​​​》​​​​​​​。​​​​​​​
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.