From: Matthias Meyer <Matthias.Meyer@gmx.li>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Volume group not accessible
Date: Fri, 25 Nov 2005 21:00:49 +0100 [thread overview]
Message-ID: <200511252100.51121.Matthias.Meyer@gmx.li> (raw)
In-Reply-To: <43864398.1040402@redhat.com>
Am Donnerstag 24 November 2005 23:50 schrieb Josef Whiter:
> Matthias Meyer wrote:
> >And now I'm not sure how to gain access again.
> >
> >Should I try to restore metadata with vgcfgrestore?
> >Is it possible that I lost my data if I try vgcfgrestore?
> >
> >Or should I create a new Volume group and include the device /dev/hdd1
> > to this VG? If I do this, what the way to delete volume group LVM2?
> >
> >Thanks in advance
> >Matthias
>
> Hello,
>
> I'm not sure what the best way to go about fixing this problem is, but a
> vgcfgrestore shouldn't harm your data, it basically just writes over a
> section of your disk that was already being used by the LVM data
> anyway. Hope that helps.
>
> Josef
vdr:~# vgcfgrestore -n LVM2 /dev/hdd1 -b 2
vdr:~# vgchange -ay
vgchange -- volume group "LVM" already active
vgchange -- volume group "LVM2" successfully activated
vdr:~# mount /dev/LVM2/Media /Media
and my logical volume is online again.
Thanks for making me courage ;-)
--
Don't Panic
prev parent reply other threads:[~2005-11-25 20:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-24 22:42 [linux-lvm] Volume group not accessible Matthias Meyer
2005-11-24 22:50 ` Josef Whiter
2005-11-25 20:00 ` Matthias Meyer [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=200511252100.51121.Matthias.Meyer@gmx.li \
--to=matthias.meyer@gmx.li \
--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;
as well as URLs for NNTP newsgroup(s).