[linux-lvm] recover lost VG (VG data differs between PVs)

Jelle Herold wires at o2w.nl
Mon Nov 15 10:24:00 UTC 2004


Hi Alasdair,

On Sun, Nov 14, 2004 at 11:21:26PM +0000, Alasdair G Kergon wrote:
> >  VG data differs between PVs /dev/hde and /dev/hdf3
> >  Volume group "datavg" doesn't exist
>  
> So hde should be in the VG at the moment, but not hdf3?

precisely.

> Add a filter to lvm.conf so lvm only looks at hde.  Run vgscan and see
> check if things look OK eg vgcfgbackup and read the text backup file.
> If things *are* OK like that, then pvremove hdf3, remove the filter &
> vgscan.

Wow! *phew* that did the job! THANKS A LOT!!

Just a question out of curiosity, what does "VG data differs..." mean,
and why does filtering hdf3 help (I thought vgreduce removed that PV
from the VG)?

well, again, thanks a zillion
Jelle.




More information about the linux-lvm mailing list