5.3.9. 激活和失活卷组


当您创建一个卷组时,默认情况下它是激活的。这就是说该组中的逻辑卷是可访问,也可修改的。
There are various circumstances for which you need to make a volume group inactive and thus unknown to the kernel. To deactivate or activate a volume group, use the -a (--available) argument of the vgchange command.
The following example deactivates the volume group my_volume_group.
# vgchange -a n my_volume_group
Copy to Clipboard Toggle word wrap
如果启用了群集的锁定,添加‘e’来激活或者失活完全占据一个节点的卷组,或者添加‘l’来激活或者失活只位于本地节点的卷组。带单一主机快照的逻辑卷总是被完全激活,因为他们一次只能在一个节点上使用。
You can deactivate individual logical volumes with the lvchange command, as described in 第 5.4.10 节 “修改逻辑卷组的参数”, For information on activating logical volumes on individual nodes in a cluster, see 第 5.7 节 “在群集的独立节点中激活逻辑卷”.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat