此内容没有您所选择的语言版本。
Chapter 6. LVM Troubleshooting
This chapter provide instructions for troubleshooting a variety of LVM issues.
6.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-vvvvargument 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
-vvvvargument. 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
lvmdumpcommand, which provides an information dump for diagnostic purposes. For information, see thelvmdump(8) man page. - Execute the
lvs -v,pvs -aordmsetup info -ccommand for additional system information. - Examine the last backup of the metadata in the
/etc/lvm/backupfile and archived versions in the/etc/lvm/archivefile. - Check the current configuration information by running the
lvm dumpconfigcommand. - Check the
.cachefile in the/etc/lvmdirectory for a record of which devices have physical volumes on them.