* [linux-lvm] Help! snapshot apparenly trashed LVM
@ 2008-06-05 22:54 ross
2008-06-05 23:23 ` [linux-lvm] Re: Help! snapshot apparenly trashed LVM [recovered? but still Q's] ross
0 siblings, 1 reply; 4+ messages in thread
From: ross @ 2008-06-05 22:54 UTC (permalink / raw)
To: linux-lvm
I did some expanding and shrinking of my volumes and then attempted to
take a snapshot. I got an error message that started "Invalid LV in
extent map". I now see that message when I do lvscan or pvscan as well.
This looks very bad, and seems to be the same situation as described here:
http://weblog.pell.portland.or.us/~orc/2008/02/20/000/index.html
Despite these warnings, I *seem* to be able to use my volumes. However, I
have stopped doing anything on the system to try to prevent corruption.
First, is it safe to continue to use the system?
Second, what can I do to diagnose or recover?
I'm running a stock Debian 2.6.24 kernel with a single SCSI disk. Some of
its partitions are dedicated to an LVM group, out of which most of my
partitions are carved. The LVM groups were originally created under EVMS
with a 2.4 kernel. I converted them to straight LVM months ago.
Thanks.
Ross Boylan
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] Re: Help! snapshot apparenly trashed LVM [recovered? but still Q's]
2008-06-05 22:54 [linux-lvm] Help! snapshot apparenly trashed LVM ross
@ 2008-06-05 23:23 ` ross
2008-06-06 6:29 ` Milan Broz
0 siblings, 1 reply; 4+ messages in thread
From: ross @ 2008-06-05 23:23 UTC (permalink / raw)
To: ross; +Cc: tabor, linux-lvm
> I did some expanding and shrinking of my volumes and then attempted to
> take a snapshot. I got an error message that started "Invalid LV in
> extent map". I now see that message when I do lvscan or pvscan as well.
>
> This looks very bad, and seems to be the same situation as described here:
> http://weblog.pell.portland.or.us/~orc/2008/02/20/000/index.html
>
> Despite these warnings, I *seem* to be able to use my volumes. However, I
> have stopped doing anything on the system to try to prevent corruption.
>
> First, is it safe to continue to use the system?
>
> Second, what can I do to diagnose or recover?
>
> I'm running a stock Debian 2.6.24 kernel with a single SCSI disk. Some of
> its partitions are dedicated to an LVM group, out of which most of my
> partitions are carved. The LVM groups were originally created under EVMS
> with a 2.4 kernel. I converted them to straight LVM months ago.
>
Following some suggestions in the archive, I used vgcfgrestore -M1 with
the last metadata before the backup, and things seem to be back. At least
lvscan runs with out errors.
So, 2 new questions:
1) are my data OK? (I'm also curious about what state the system was in
before the recovery--was it safe to use?)
2) how can I take a snapshot without running into this problem?
Thanks.
Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Re: Help! snapshot apparenly trashed LVM [recovered? but still Q's]
2008-06-05 23:23 ` [linux-lvm] Re: Help! snapshot apparenly trashed LVM [recovered? but still Q's] ross
@ 2008-06-06 6:29 ` Milan Broz
2008-06-06 7:45 ` Ross Boylan
0 siblings, 1 reply; 4+ messages in thread
From: Milan Broz @ 2008-06-06 6:29 UTC (permalink / raw)
To: LVM general discussion and development; +Cc: tabor
ross@biostat.ucsf.edu wrote:
>> I did some expanding and shrinking of my volumes and then attempted to
>> take a snapshot. I got an error message that started "Invalid LV in
>> extent map". I now see that message when I do lvscan or pvscan as well.
>>
>> This looks very bad, and seems to be the same situation as described here:
>> http://weblog.pell.portland.or.us/~orc/2008/02/20/000/index.html
And where did you send bugreport for that problem?
ok, it seems that we have already one
https://bugzilla.redhat.com/show_bug.cgi?id=209927
Should be fixed in LVM2 2.02.36.
Milan
--
mbroz@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Re: Help! snapshot apparenly trashed LVM [recovered? but still Q's]
2008-06-06 6:29 ` Milan Broz
@ 2008-06-06 7:45 ` Ross Boylan
0 siblings, 0 replies; 4+ messages in thread
From: Ross Boylan @ 2008-06-06 7:45 UTC (permalink / raw)
To: Milan Broz; +Cc: tabor, LVM general discussion and development
On Fri, 2008-06-06 at 08:29 +0200, Milan Broz wrote:
> ross@biostat.ucsf.edu wrote:
> >> I did some expanding and shrinking of my volumes and then attempted to
> >> take a snapshot. I got an error message that started "Invalid LV in
> >> extent map". I now see that message when I do lvscan or pvscan as well.
> >>
> >> This looks very bad, and seems to be the same situation as described here:
> >> http://weblog.pell.portland.or.us/~orc/2008/02/20/000/index.html
>
> And where did you send bugreport for that problem?
>
> ok, it seems that we have already one
>
> https://bugzilla.redhat.com/show_bug.cgi?id=209927
>
> Should be fixed in LVM2 2.02.36.
>
> Milan
> --
> mbroz@redhat.com
Excellent!
Is that a kernel level or userspace fix? How do I know if I've got it?
Currently lvm version says
LVM version: 2.02.35 (2008-04-15)
Library version: 1.02.24 (2007-12-20)
Driver version: 4.12.0
The bug indicates that converting to LVM2 will fix things. I have no
reason to stick with LVM1, so that may be the best way to go. Are there
any gotcha's? Can vgconvert be run while the volumes and group are in
use?
Thanks.
Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-06 7:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 22:54 [linux-lvm] Help! snapshot apparenly trashed LVM ross
2008-06-05 23:23 ` [linux-lvm] Re: Help! snapshot apparenly trashed LVM [recovered? but still Q's] ross
2008-06-06 6:29 ` Milan Broz
2008-06-06 7:45 ` Ross Boylan
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).