Menu Close

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

章 6. LVM 疑​​​​​​​難​​​​​​​排​​​​​​​解​​​​​​​

此​​​​​​​章​​​​​​​節​​​​​​​提​​​​​​​供​​​​​​​了​​​​​​​針​​​​​​​對​​​​​​​於​​​​​​​各​​​​​​​種​​​​​​​ 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 檔​​​​​​​案​​​​​​​中​​​​​​​的​​​​​​​壓​​​​​​​縮​​​​​​​版​​​​​​​本​​​​​​​)檢​​​​​​​查​​​​​​​ metadata 的​​​​​​​最​​​​​​​後​​​​​​​一​​​​​​​個​​​​​​​備​​​​​​​份​​​​​​​。​​​​​​​
  • 透​​​​​​​過​​​​​​​執​​​​​​​行​​​​​​​ lvm dumpconfig 指​​​​​​​令​​​​​​​來​​​​​​​檢​​​​​​​查​​​​​​​目​​​​​​​前​​​​​​​的​​​​​​​配​​​​​​​置​​​​​​​資​​​​​​​訊​​​​​​​。​​​​​​​
  • 檢​​​​​​​查​​​​​​​ /etc/lvm 目​​​​​​​錄​​​​​​​中​​​​​​​的​​​​​​​ .cache 檔​​​​​​​案​​​​​​​來​​​​​​​取​​​​​​​得​​​​​​​有​​​​​​​關​​​​​​​於​​​​​​​哪​​​​​​​個​​​​​​​裝​​​​​​​置​​​​​​​上​​​​​​​含​​​​​​​有​​​​​​​實​​​​​​​體​​​​​​​卷​​​​​​​冊​​​​​​​的​​​​​​​相​​​​​​​關​​​​​​​記​​​​​​​錄​​​​​​​。​​​​​​​