搜索

此内容没有您所选择的语言版本。

Chapter 7. LVM Troubleshooting

download PDF
This chapter provide instructions for troubleshooting a variety of LVM issues.

7.1. Troubleshooting Diagnostics

If a command is not working as expected, you can gather diagnostics in the following ways:
  • Use the -v, -vv, -vvv, or -vvvv argument of any command for increasingly verbose levels of output.
  • 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.
  • Run the lvmdump command, which provides an information dump for diagnostic purposes. For information, see the lvmdump(8) man page.
  • Execute the lvs -v, pvs -a or dmsetup info -c command for additional system information.
  • Examine the last backup of the metadata in the /etc/lvm/backup file and archived versions in the /etc/lvm/archive file.
  • Check the current configuration information by running the lvmconfig command.
  • Check the .cache file in the /etc/lvm directory for a record of which devices have physical volumes on them.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.