[linux-lvm] new multipath device mistakenly replaced another PV in existing volume group

David Teigland teigland at redhat.com
Thu Apr 20 16:24:11 UTC 2017


On Thu, Apr 20, 2017 at 11:04:32AM -0500, David Teigland wrote:
> On Wed, Apr 19, 2017 at 02:53:19PM -0700, Neutron Sharc wrote:
> > Please note that all these vol3_[0-3] are fresh, without any LVM
> > metadata on them, as shown by pvscan::
> > sudo pvscan --cache /dev/mapper/vol3_0
> >   Incorrect metadata area header checksum on /dev/mapper/vol3_0 at offset 4096
> >   Incorrect metadata area header checksum on /dev/mapper/vol3_0 at offset 4096
> >   Incorrect metadata area header checksum on /dev/mapper/vol3_0 at offset 4096
> 
> That error indicates there is LVM metadata on them.
> 
> >   Found duplicate PV 9F6vU9NVBfEq1w3e04T5UreO6fDVPJNy: using
> > /dev/mapper/vol1_3 not /dev/mapper/vol3_0
> 
> That error indicates it's the same LVM metadata on them.
> 
> Perhaps you're exporting the same data source on the back end via separate
> devices, or have copied the data sources, or are using snapshots of them.

Also, if you upgrade to a new version of lvm, there is better checking and
reporting for these conditions.




More information about the linux-lvm mailing list