第 7 章 LVM 故障排除


本章提供了对不同 LVM 问题进行故障排除的操作方法。

7.1. 故障排除诊断

如果某个命令没有按照预期执行,您可以用以下方法收集诊断信息:
  • 使用命令的 -v-vv-vvv 或者 -vvvv 选现提高输出信息的详细程度。
  • If the problem is related to the logical volume activation, set 'activation = 1' in the 'log' section of the configuration file and run the command with the -vvvv argument. After you have finished examining this output be sure to reset this parameter to 0, to avoid possible problems with the machine locking during low memory situations.
  • 运行 lvmdump 命令可为诊断提供信息转储。有关详情请参考 lvmdump(8) man page。
  • 执行 lvs -vpvs -a 或者 dmsetup info -c 命令以获得额外的系统信息。
  • 检查 /etc/lvm/backup 文件中最后的元数据备份和 /etc/lvm/archive 中的归档版本。
  • Check the current configuration information by running the lvmconfig command.
  • 检查 /etc/lvm 中的 .cache 文件来了解哪些设备中有物理卷。
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat