From: Richard van den Berg <richard@vdberg.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Serious problem and I don't know where to turn.
Date: Fri, 29 Jun 2007 08:23:03 +0200 [thread overview]
Message-ID: <4684A547.8080302@vdberg.org> (raw)
In-Reply-To: <001601c7b9f6$8ff21990$afd64cb0$@net>
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]
WarlockD wrote:
>
> [root@server ~]# lvscan -a
>
> ACTIVE '/dev/VolGroup00/LogVol00' [147.00 GB] inherit
>
> ACTIVE '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
>
> [root@server ~]# vgscan
>
> Reading all physical volumes. This may take a while...
>
> Found volume group "VolGroup00" using metadata type lvm2
>
> Found volume group "ANIME" using metadata type lvm2
So the vg "ANIME" is found, but is not activated? That kind of makes
sense because it is missing the pv on the deleted /dev/sdb2 partition.
According to the vgreduce man pages you can:
vgreduce --removemissing ANIME
to remove all missing physical volumes from the volume group and make
the volume group consistent again. It's a good idea to run this option
with --test first to find out what it would remove before running it
for real. There is also "--partial" option you can use to activate vgs
and lvs even if they are missing data. Read the man pages and be very
careful before you proceed.
> Basicly, I have a volume called “ANIME-logical” I am trying to
> restore, but I don’t have the metadata. Is there a way I can get to it?
>
Without the metadata that's going to be tough. If the filesystem is all
continuous on your RAID5 partition, technically you should be able to
mount it if you can create a device pointing at the right start, and
with the right size. Good luck figuring that out.
Another approach could be to recreate the /dev/sdb2 partition in exactly
the same way you did before. The metadata might still be there, and the
vg might come up.
Sincerely,
Richard van den Berg
[-- Attachment #2: Type: text/html, Size: 4436 bytes --]
next prev parent reply other threads:[~2007-06-29 6:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 16:42 [linux-lvm] Serious problem and I don't know where to turn WarlockD
2007-06-28 21:52 ` Richard van den Berg
2007-06-29 2:38 ` WarlockD
2007-06-29 6:23 ` Richard van den Berg [this message]
2007-06-29 21:40 ` WarlockD
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=4684A547.8080302@vdberg.org \
--to=richard@vdberg.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.