Menu Close

Red Hat Training

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

3.4. 邏​​​​​​​輯​​​​​​​卷​​​​​​​冊​​​​​​​備​​​​​​​份​​​​​​​

Metadata 的​​​​​​​備​​​​​​​份​​​​​​​和​​​​​​​ archive 會​​​​​​​在​​​​​​​每​​​​​​​個​​​​​​​卷​​​​​​​冊​​​​​​​群​​​​​​​組​​​​​​​和​​​​​​​邏​​​​​​​輯​​​​​​​卷​​​​​​​冊​​​​​​​配​​​​​​​置​​​​​​​遭​​​​​​​到​​​​​​​變​​​​​​​更​​​​​​​時​​​​​​​自​​​​​​​動​​​​​​​被​​​​​​​建​​​​​​​立​​​​​​​,除​​​​​​​非​​​​​​​在​​​​​​​ lvm.conf 檔​​​​​​​案​​​​​​​中​​​​​​​停​​​​​​​用​​​​​​​。​​​​​​​就​​​​​​​預​​​​​​​設​​​​​​​值​​​​​​​,metadata 的​​​​​​​備​​​​​​​份​​​​​​​儲​​​​​​​存​​​​​​​於​​​​​​​ /etc/lvm/backup 檔​​​​​​​案​​​​​​​中​​​​​​​,並​​​​​​​且​​​​​​​ metadata archive 則​​​​​​​儲​​​​​​​存​​​​​​​在​​​​​​​ /etc/lvm/archive 檔​​​​​​​案​​​​​​​中​​​​​​​。​​​​​​​Metadata archive 儲​​​​​​​存​​​​​​​在​​​​​​​ /etc/lvm/archive 中​​​​​​​的​​​​​​​保​​​​​​​留​​​​​​​時​​​​​​​間​​​​​​​長​​​​​​​短​​​​​​​和​​​​​​​ archive 檔​​​​​​​案​​​​​​​的​​​​​​​數​​​​​​​量​​​​​​​取​​​​​​​決​​​​​​​於​​​​​​​ lvm.conf 檔​​​​​​​案​​​​​​​中​​​​​​​的​​​​​​​參​​​​​​​數​​​​​​​。​​​​​​​每​​​​​​​日​​​​​​​的​​​​​​​系​​​​​​​統​​​​​​​備​​​​​​​份​​​​​​​都​​​​​​​應​​​​​​​包​​​​​​​含​​​​​​​著​​​​​​​ /etc/lvm 目​​​​​​​錄​​​​​​​的​​​​​​​內​​​​​​​容​​​​​​​於​​​​​​​備​​​​​​​份​​​​​​​中​​​​​​​。​​​​​​​
請​​​​​​​注​​​​​​​意​​​​​​​,metadata 備​​​​​​​份​​​​​​​不​​​​​​​會​​​​​​​備​​​​​​​份​​​​​​​包​​​​​​​含​​​​​​​在​​​​​​​邏​​​​​​​輯​​​​​​​卷​​​​​​​冊​​​​​​​中​​​​​​​的​​​​​​​用​​​​​​​戶​​​​​​​與​​​​​​​系​​​​​​​統​​​​​​​資​​​​​​​料​​​​​​​。​​​​​​​
You can manually back up the metadata to the /etc/lvm/backup file with the vgcfgbackup command. You can restore metadata with the vgcfgrestore command. The vgcfgbackup and vgcfgrestore commands are described in 節 4.3.12, “備​​​​​​​份​​​​​​​卷​​​​​​​冊​​​​​​​群​​​​​​​組​​​​​​​的​​​​​​​ Metadata”.