Show Table of Contents
6.5. 替换丢失的物理卷
如果物理卷失败或者需要替换,则可以标记一个新的物理卷来替换那个已经在现有卷组中丢失的物理卷,过程与修复物理卷元数据相同,详见 第 6.4 节 “恢复物理卷元数据”。您可以使用
vgdisplay 命令的 --partial 和 --verbose 选项显示不再出现的物理卷的 UUID 和大小。如果想要使用同样大小的物理卷进行替换,则可以使用 pvcreate 命令,选项为 --restorefile 和 --uuid 初始化与丢失的物理卷有相同 UUID 的新设备。然后就可以使用 vgcfgrestore 命令恢复卷组的元数据。

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.