OK found how to correct it :) first you need "dd" and "hexedit".


Important you must understand this.

LVM2 stores vg metadata informations in the first 4MB of all its pvs.
After every update on a vg a new "Metadata Sequence No" is created.
Every pv has its own metadata "Metadata Areas"


So do "pvscan", "vgdisplay" and make out where the metadata area is. (for 'x' 
pv do 'dd')
After that copy metadata with 'dd', and analyse the output of 'dd' with the one 
of 'vgdisplay'.
If you are sure you have found the bad blocks open 'hexedit' on device and 
wipeout bad parts.

please keep me informed about any changes <teodori.se...@hotmail.com>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/452350

Title:
  Unknown LVM metadata header

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/452350/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to