Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
4.3.12. 備份卷冊群組的 Metadata
Metadata 備份和 archive 會在每個卷冊群組和邏輯卷冊配置遭到變更時被自動地建立,除非您在
lvm.conf
檔案中將它停用。就預設值,metadata 備份儲存在 /etc/lvm/backup
檔案中,並且 metadata archive 則儲存在 /etc/lvm/archives
檔案中。您可透過 vgcfgbackup
指令來手動式地將 metadata 備份至 /etc/lvm/backup
檔案中。
vgcfrestore
指令會將卷冊群組的 metadata 由 archive 復原至卷冊群組中所有的實體卷冊中。
For an example of using the
vgcfgrestore
command to recover physical volume metadata, see 節 6.4, “復原實體卷冊的 Metadata”.