From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] restore question
Date: Mon, 23 Aug 2004 15:38:22 +0200 [thread overview]
Message-ID: <20040823133822.GA9740@redhat.com> (raw)
In-Reply-To: <20040822133158.GB6714@localhost>
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2004-08-23 13:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-22 13:31 [linux-lvm] restore question Fraser Pringle
2004-08-23 13:38 ` Heinz Mauelshagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040823133822.GA9740@redhat.com \
--to=mauelshagen@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox