From: Peter Rajnoha <prajnoha@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Andrew Gideon <ag2827189@tagmall.com>
Subject: Re: [linux-lvm] Unable to use metadata.dirs in lvm.conf? (Was: Re: Solving the "metadata too large for circular buffer" condition)
Date: Fri, 26 Nov 2010 17:03:37 +0100 [thread overview]
Message-ID: <4CEFDA59.1000204@redhat.com> (raw)
In-Reply-To: <ickl50$tm$3@taco.int.tagonline.com>
On 11/25/2010 04:28 AM +0100, Andrew Gideon wrote:
> I immediately start seeing "memory" errors from LVM commands. For example:
>
> [root@noodle6 tagonline]# vgscan
> Reading all physical volumes. This may take a while...
> Found volume group "TestVG0" using metadata type lvm2
> Found volume group "guestvg00" using metadata type lvm2
> You have a memory leak (not released memory pool):
> [0x83e7848]
> [0x83e7868]
> You have a memory leak (not released memory pool):
> [0x83e7848]
> [0x83e7868]
This should be resolved already (since lvm2 version 2.02.75) with this patch
http://sourceware.org/git/?p=lvm2.git;a=commit;h=cfbbf34d6a8606dd97ef529e8f709e494535ed42
>
> I then
> * pvcreate -ff --restorefile /etc/lvm/backup/... --uuid ... --metadatacopies 0 /dev/xvdN1
> on the final PV that has metadata.
>
> Now, I cannot see the volume group:
>
> [root@noodle6 tagonline]# vgdisplay -v TestVG0
> Using volume group(s) on command line
> Finding volume group "TestVG0"
> Wiping cache of LVM-capable devices
> Volume group "TestVG0" not found
This seems to be another bug, I've sent a patch to lvm-devel...
(The metatada/dirs is not used so often so that's probably the reason why these
bugs got unnoticed for a longer time. If you have any other problem while using
this setting, plese, feel free to report it. Thanks.)
Peter
next prev parent reply other threads:[~2010-11-26 16:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-24 20:28 [linux-lvm] Solving the "metadata too large for circular buffer" condition Andrew Gideon
2010-11-24 21:35 ` Andrew Gideon
2010-11-24 23:02 ` Ray Morris
2010-11-25 3:35 ` Andrew Gideon
2010-11-24 23:07 ` Ray Morris
2010-11-25 3:28 ` [linux-lvm] Unable to use metadata.dirs in lvm.conf? (Was: Re: Solving the "metadata too large for circular buffer" condition) Andrew Gideon
2010-11-26 16:03 ` Peter Rajnoha [this message]
2010-11-29 14:50 ` Andrew Gideon
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=4CEFDA59.1000204@redhat.com \
--to=prajnoha@redhat.com \
--cc=ag2827189@tagmall.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 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.