All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Leach <john@johnleach.co.uk>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] metadata too large for circular buffer - any way to increase PV metadatasize?
Date: Sun, 10 Aug 2008 18:45:16 +0100	[thread overview]
Message-ID: <1218390316.9292.6.camel@dogen.thepride.> (raw)
In-Reply-To: <20080807194151.GT7257@agk.fab.redhat.com>

On Thu, 2008-08-07 at 20:41 +0100, Alasdair G Kergon wrote:

> To remove the metadata areas you need to:
> 
>    get an up-to-date metadata backup (vgcfgbackup)
> 
>   pvcreate --restorefile pointing at a copy of that backup file requesting 0 metadata areas
> and specifying the same uuid as it had before
> 
>   vgcfgrestore from the backup file
>  

This doesn't look like something you can do with the volume group active
(with cluster lvm anyway):

[root@testnode0 ~]# pvcreate --restorefile san-metadata -u fTLglk-j1C1-02Z7-8k6l-DTAm-2WNj-9ZGT19 --metadatacopies 0 /dev/hdb -ff
Really INITIALIZE physical volume "/dev/hdb" of volume group "san" [y/n]? y
  Can't open /dev/hdb exclusively.  Mounted filesystem?

Is that right, or am I missing something?

Thanks,

John.

  parent reply	other threads:[~2008-08-10 17:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07 18:07 [linux-lvm] metadata too large for circular buffer - any way to increase PV metadatasize? John Leach
2008-08-07 19:41 ` Alasdair G Kergon
2008-08-07 19:52   ` Alasdair G Kergon
2008-08-07 19:56     ` Alasdair G Kergon
2008-08-07 20:45     ` John Leach
2008-08-07 20:43   ` John Leach
2008-08-10 17:45   ` John Leach [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-28 13:51 Charles Koprowski
2016-09-29  9:23 ` Zdenek Kabelac
2016-09-30 17:39   ` Charles Koprowski

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=1218390316.9292.6.camel@dogen.thepride. \
    --to=john@johnleach.co.uk \
    --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.