[linux-lvm] PV#s are not unique

Peter Palfrader peter at palfrader.org
Tue Dec 11 12:28:02 UTC 2001

Hi Heinz!

On Tue, 11 Dec 2001, Heinz J . Mauelshagen wrote:

> But anyway:
> you need to read te first sector of
> /dev/ide/host0/bus1/target1/lun0/part1
> and
> /dev/ide/host0/bus0/target1/lun0/part1.
> Change unsigned int value (4 byte) at decimal offset 432 to 5 for bus1
> and to 7 for bus0 which should give you unique numbering of PVs and store
> them back to the corresponding disks.

Thank you for your reply, I did this.  PVids are unique now, but vgscan
still does not find and activate the volume group.

Do you have something else I could try?

I think of trying to restore the metadata on all PVs using vgcfgrestore
since I have a few copies of vg_stuff.conf in /etc/lvmconf.  Would this
be a stupid idea?


 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

More information about the linux-lvm mailing list