[linux-lvm] restore question

Fraser Pringle fraserpringle at yahoo.co.uk
Sun Aug 22 13:31:58 UTC 2004


I have a problem with using lvm and I'd be grateful for some advice.

I have a data volume group "datavg" on a mirrored raid partion that was running
fine until I experienced a system crash.  After the crash the /dev/md0
raid device was not recognised by the lvm system and neither was the
datavg.  After finding some advice on this list I ran the commands:

pvcreate /dev/md0
vgcfgrestore -n datavg /dev/md0

to restore the datavg.  This seemed to work, however, the volume group
seems to have been restored to a point some time in the past, i.e. there
are many files missing.  I'm not too sure how this could have happend as
all the reading I've done seems to suggest that the vgcfgrestore command
should just have restored the configuration and not any data.  Have I
somehow restored a snapshot of the volume group?  Does anyone have any
suggestions as to how I might retrieve my data?

Any advice would be very welcome.


lvm version: 1.0.8-4

More information about the linux-lvm mailing list