[linux-lvm] How to restore a PV ??

Jonathan E Brassow jbrassow at redhat.com
Mon Oct 16 15:43:23 UTC 2006


does 'vgcfgrestore principal' work?

  brassow

On Oct 12, 2006, at 8:27 PM, Jerome wrote:

> Hi all,
> i've made a mistake on deleting the MBR of a disk who was included in 
> a Volume Group of three disks.
> Now, when i do a pvdisplay command, i have this result:
>
>  pvdisplay
>   2 PV(s) found for VG principal: expected 3
>   Logical volume (Database) contains an incomplete mapping table.
>   PV segment VG free_count mismatch: 0 != 3576
>   PV segment VG extent_count mismatch: 7152 != 10728
>   Internal error: PV segments corrupted in principal.
>
> And a vgdisplay show me this following:
> vgdisplay
>   2 PV(s) found for VG principal: expected 3
>   2 PV(s) found for VG principal: expected 3
>   Volume group "principal" not found
>
> I'm sure that the data on the hard disk are not erased. But i want to 
> restore this third disk, that it is part of the "principal" Volume 
> Group. (I have a fourth disk with the same physical caracteristics).
> So, how can i do to succeed in this?
>
> Best regards.
> -- 
> -- Jérôme
> Si l'on peut trouver moins que rien, c'est que rien vaut déjà quelque 
> chose.
> 	(Raymond Devos)
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>





More information about the linux-lvm mailing list