[linux-lvm] LVM metadata checksums

Alasdair G Kergon agk at redhat.com
Fri Sep 8 23:04:22 UTC 2006


On Fri, Sep 08, 2006 at 02:55:27PM +0000, Mark Krenz wrote:
> Anyways, I thought that perhaps I could try to use hexedit to modify the
> UUID within the image file.  

Use the tools!
  pvchange --uuid
  vgchange --uuid


Never edit on-disk metadata by hand!
  Use vgcfgbackup to read it into a file, edit the file, then put 
  it back with vgcfgrestore.  (With pvcreates before restoring if necessary.)

Alasdair
-- 
agk at redhat.com




More information about the linux-lvm mailing list