Show Table of Contents
章 6. LVM 疑難排解
此章節提供了針對於各種 LVM 問題進行疑難排解的指南。
6.1. 疑難排解診斷結果
若指令不如預期地運作的話,您可透過下列方式來取得診斷結果:
- 使用任何指令的
-v、-vv、-vvv或-vvvv引數來取得更加詳細的輸出。 - 若問題和邏輯卷冊的啟動相關的話,請在配置檔案的「log」部份中設置「activation = 1」然後以
-vvvv引數來執行指令。當您檢查過了這些輸出時,請記得將這個參數重設為 0 以避免發生機器在記憶體不足的情況下將機器鎖住的問題。 - 請執行
lvmdump指令,它提供了用來作為診斷用的資訊傾印。如欲取得更多相關資訊,請參閱lvmdump(8) man page。 - 您可執行
lvs -v、pvs -a或dmsetup info -c指令來取得額外的系統資訊。 - 在
/etc/lvm/backup檔案中(或於/etc/lvm/archive檔案中的壓縮版本)檢查 metadata 的最後一個備份。 - 透過執行
lvm dumpconfig指令來檢查目前的配置資訊。 - 檢查
/etc/lvm目錄中的.cache檔案來取得有關於哪個裝置上含有實體卷冊的相關記錄。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.