All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tom Parker" <tom@carrott.org>
To: "Heinz J . Mauelshagen" <linux-lvm@sistina.com>
Subject: Re: [linux-lvm] Overlapping logical volumes
Date: Mon Nov  3 05:33:01 2003	[thread overview]
Message-ID: <2154.438T400T202443tom@carrott.org> (raw)
In-Reply-To: <20031103111117.F1850@sistina.com>

Heinz J . Mauelshagen <mauelshagen@sistina.com> wrote:

>On Sat, Nov 01, 2003 at 07:07:53PM +1200, Tom Parker wrote:

>> I have just experianced a rather nasty bug in lvextend. I grew a logical
>> volume and it used extents that were already in use for another logical
>> volume.

>You're the first reporting.
>Do you have abn archive copy in /etc/lvmconf representing that situation
>still ? If so, send it to me please <mge@sistina.com>.

I hope I'm not imagining things as I can't reproduce it anymore. It would
appear that I don't currently have any overlapping volumes. I've rebooted
twice since the original incident, and I only have on disk copies of
intermediate files from my original analysis (I had to process the output of
lvdisplay -v with cut and sort and uniq to find the problem, it would be
easier if you provided an easily meachine readable format for lvdisplay -v).
The output of lvdisplay on the effected volumes would appear to be different
from that captured in my intermediate files, however I cannot be 100% certain
I didn't make a mistake and cut at the wrong place or something.

However I'm pritty sure I'm not imagining it. I recall lvdisplay -v reported
all extents allocated from one physical volume, and pvdisplay -v on that
volume showed not as many extents allocated to the logical volume as lvdisplay
did.

The old root logical volume no longer mounts, this logical volume was in use
last week and even remounted after a reboot when I didn't switch onto a new
root correctly.

I'll send you the /etc/lvmconf files from around the incident and hopefully
one of them will show the problem.

>> Is there a program that can validate the logical volume configuration and
>> ensure that no physical extent is allocated to more the one logical volume?

>vgck

This claims my current configuration is good. Is there a way to run it on old
config files?

>Do an "lvcreate -Zn ...", run vgck and check the "lvdisplay -v ..." output
>on all your LVs if there's any overlaps again. If so, that's the archive copy
>you want to send to me.

I'll bear this in mind.

--
Tom Parker - tom@carrott.org
           - http://www.carrott.org

      reply	other threads:[~2003-11-03  5:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-01  0:10 [linux-lvm] Overlapping logical volumes Tom Parker
2003-11-03  4:11 ` Heinz J . Mauelshagen
2003-11-03  5:33   ` Tom Parker [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=2154.438T400T202443tom@carrott.org \
    --to=tom@carrott.org \
    --cc=linux-lvm@sistina.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.