* [linux-lvm] restore question
@ 2004-08-22 13:31 Fraser Pringle
2004-08-23 13:38 ` Heinz Mauelshagen
0 siblings, 1 reply; 2+ messages in thread
From: Fraser Pringle @ 2004-08-22 13:31 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] restore question
2004-08-22 13:31 [linux-lvm] restore question Fraser Pringle
@ 2004-08-23 13:38 ` Heinz Mauelshagen
0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2004-08-23 13:38 UTC (permalink / raw)
To: LVM general discussion and development
On Sun, Aug 22, 2004 at 03:31:58PM +0200, Fraser Pringle wrote:
> 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.
Right, the vgcfgrestore restored the most recent LVM metadata to the device.
This doesn't change any data content withing Logical Volumes.
> 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 ?
>
> Any advice would be very welcome.
>
> Regards,
> Fraser
>
> lvm version: 1.0.8-4
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
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
Mauelshagen@RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-23 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-22 13:31 [linux-lvm] restore question Fraser Pringle
2004-08-23 13:38 ` Heinz Mauelshagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox