Re: setting VG UUID

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

 



> After figuring out that my all my PVs were lacking UUIDs, I used this
> hack from Heinz to correct the situation:
> 
> http://lists.sistina.com/pipermail/linux-lvm/2002-January/010521.html
> 
> (Alasdair also kindly provided a patch to handle the situation in LVM2.)
> 
> Now my VG itself is still lacking a UUID and this causes problems such
> as vgcfgrestore refusing to continue.  Is there any way I can update
> my VG UUID?

For the record, I'm absolutely crazy, but I fixed this by doing:

echo "deadbeefdeadbeefdeadbeefdeadbeef"|dd of=/dev/hda6 obs=1 seek=4096 count=32
echo "deadbeefdeadbeefdeadbeefdeadbeef"|dd of=/dev/hda7 obs=1 seek=4096 count=32
echo "deadbeefdeadbeefdeadbeefdeadbeef"|dd of=/dev/hda8 obs=1 seek=4096 count=32
echo "deadbeefdeadbeefdeadbeefdeadbeef"|dd of=/dev/hda9 obs=1 seek=4096 count=32

So much for universal uniqueness...  but now finally LVM2 is happy to
accept my LVM1 partitions!  Woohoo!!

For the record, I created my LVM1 partitions with Linux Mandrake 9.2.
So I anticipate other people will be having this kind of fun.  :-)

One inconvenience I still seem to have is that /dev/bytepool/ is now
filled with symlinks and when I boot back to Linux 2.4 with LVM1 (no
device-mapper), it fails to mount the partitions because of this.
Cleaning /dev/bytepool/ and rebooting seems to fix this.

Should "vgchange -a n" maybe clean up these symlinks?

Cheers,
Navin.

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux