Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229696

Re: Migrating LVM volumes to a new machine

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: Migrating LVM volumes to a new machine
Date 2020-12-12 13:40 +0100
Message-ID <BlclP-1BT-7@gated-at.bofh.it> (permalink)
References <Bl0kF-2Cv-1@gated-at.bofh.it> <Bl0ul-2Gj-3@gated-at.bofh.it> <BlbJ8-19L-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Migrating LVM volumes to a new machine Mark Fletcher <mark27q1@gmail.com> - 2020-12-12 00:50 +0100
  Re: Migrating LVM volumes to a new machine Michael Stone <mstone@debian.org> - 2020-12-12 01:00 +0100
    Re: Migrating LVM volumes to a new machine Mark Fletcher <mark27q1@gmail.com> - 2020-12-12 13:00 +0100
      Re: Migrating LVM volumes to a new machine Andy Smith <andy@strugglers.net> - 2020-12-12 13:40 +0100

csiph-web