[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Migrating LVM volumes to a new machine



Hello,

On Sat, Dec 12, 2020 at 11:51:17AM +0000, Mark Fletcher wrote:
> That generates a followup question, out of curiosity. Presumably for 
> that to work, all the info needed for the computer to learn about the VG 
> at boot must be stored on the PV. What happens when there is more than 
> one PV for a VG? Is the info stored on all of them, or just one?

All of them.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/logical_volume_manager_administration/lvm_metadata

    "The configuration details of a volume group are referred to as
    the metadata. By default, an identical copy of the metadata is
    maintained in every metadata area in every physical volume
    within the volume group."

Have a read of it with:

# vgcfgbackup -f config.txt vgname

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: