Show Table of Contents
3.4. 逻辑卷备份
元数据备份和归档会在每次修改卷组和逻辑卷配置时自动进行,除非在
lvm.conf 文件中禁用了此功能。默认情况下,元数据备份保存在 /etc/lvm/backup 文件中,元数据归档保存在 /etc/lvm/archive 文件中。元数据归档在 /etc/lvm/archive 文件中保存的时间和多少取决于您在 lvm.conf 文件中设定的参数。日常系统备份应该在备份中包含 /etc/lvm 目录的内容。
注意:元数据备份并不包含逻辑卷中的用户和系统数据。
可以手动使用
vgcfgbackup 命令将元数据备份到 /etc/lvm/backup 文件中。可以使用 vgcfgrestore 恢复元数据。有关 vgcfgbackup 和 vgcfgrestore 命令的论述请参考 第 4.3.13 节 “备份卷组元数据”。

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.