搜索

第 6 章 LVM 故​​​​​​​障​​​​​​​排​​​​​​​除​​​​​​​

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

6.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 -v、​​​​​​​pvs -a 或​​​​​​​者​​​​​​​ dmsetup info -c 命​​​​​​​令​​​​​​​以​​​​​​​获​​​​​​​得​​​​​​​额​​​​​​​外​​​​​​​的​​​​​​​系​​​​​​​统​​​​​​​信​​​​​​​息​​​​​​​。​​​​​​​
  • 检​​​​​​​查​​​​​​​ /etc/lvm/backup 文​​​​​​​件​​​​​​​中​​​​​​​最​​​​​​​后​​​​​​​的​​​​​​​元​​​​​​​数​​​​​​​据​​​​​​​备​​​​​​​份​​​​​​​和​​​​​​​ /etc/lvm/archive 中​​​​​​​的​​​​​​​归​​​​​​​档​​​​​​​版​​​​​​​本​​​​​​​。​​​​​​​
  • 通​​​​​​​过​​​​​​​运​​​​​​​行​​​​​​​ lvm dumpconfig 命​​​​​​​令​​​​​​​检​​​​​​​查​​​​​​​现​​​​​​​有​​​​​​​配​​​​​​​置​​​​​​​信​​​​​​​息​​​​​​​。​​​​​​​
  • 检​​​​​​​查​​​​​​​ /etc/lvm 中​​​​​​​的​​​​​​​ .cache 文​​​​​​​件​​​​​​​来​​​​​​​了​​​​​​​解​​​​​​​哪​​​​​​​些​​​​​​​设​​​​​​​备​​​​​​​中​​​​​​​有​​​​​​​物​​​​​​​理​​​​​​​卷​​​​​​​。​​​​​​​
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.