If a physical volume fails or otherwise needs to be replaced, you can label a new physical volume to replace the one that has been lost in the existing volume group by following the same procedure as you would for recovering physical volume metadata, described in 節 6.4, “復原實體卷冊的 Metadata”. You can use the
--verbosearguments of the
vgdisplaycommand to display the UUIDs and sizes of any physical volumes that are no longer present. If you wish to substitute another physical volume of the same size, you can use the
pvcreatecommand with the
--uuidarguments to initialize a new device with the same UUID as the missing physical volume. You can then use the
vgcfgrestorecommand to restore the volume group's metadata.