restore question
Hi,
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
vgscan
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.
Regards,
Fraser
lvm version: 1.0.8-4
Quoted 13 lines · Fraser Pringle
Hi,
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/md0raid 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
vgscan
Quoted 5 lines
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.
Right, the vgcfgrestore restored the most recent LVM metadata to the device.
This doesn't change any data content withing Logical Volumes.
Quoted 3 lines
Have I
somehow restored a snapshot of the volume group? Does anyone have any suggestions as to how I might retrieve my data?
Hard to tell waht happened without more information.
What does lvscan show ?
What does lvdisplay show on the LVs ?
Quoted 13 lines
Any advice would be very welcome.
Regards,
Fraserlvm version: 1.0.8-4
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-