linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] metadata too large for circular buffer - any way to increase PV metadatasize?
@ 2008-08-07 18:07 John Leach
  2008-08-07 19:41 ` Alasdair G Kergon
  0 siblings, 1 reply; 10+ messages in thread
From: John Leach @ 2008-08-07 18:07 UTC (permalink / raw)
  To: LVM general discussion and development

Hi,

I'm getting the dreaded "metadata too large for circular buffer" message
trying to create a new LV in a volume group of a few hundred other LVs.

As I understand, this is because the PVs don't have enough space for the
metadata.  This size can be set to a larger value when pvcreating with
--metadatasize but I have obviously missed that boat :)

Is there a way to increase this with live PVs, rather than shifting all
the data off them and recreating and shifting back on?

I have a multinode RedHat Cluster with CLVMD and two PVs.  I can add
additional PVs if that helps (though as I understand *every* PV needs
enough metadata space).

Thanks in advance!

John.

-- 
http://johnleach.co.uk

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [linux-lvm] metadata too large for circular buffer - any way to increase PV metadatasize?
@ 2016-09-28 13:51 Charles Koprowski
  2016-09-29  9:23 ` Zdenek Kabelac
  0 siblings, 1 reply; 10+ messages in thread
From: Charles Koprowski @ 2016-09-28 13:51 UTC (permalink / raw)
  To: linux-lvm, john

[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]

 On Sun, 10 Aug 2008 18:45:16 +0100, John Leach wrote:

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?
>

Hi John,

I know it's been a long time but, Did you found out a solution for this ?

I'm trying to follow the same scenario to increase the metadatasize and got
stuck at the same point.

Thanks

Charles

-- 
Charles Koprowski
Systems & Networks
<http://www.audaxis.com/>
cko@audaxis.com
Tel : +33 3 20 63 88 70 <+33+3+20+63+88+70>
GSM : +33 6 29 32 63 33 <+33+6+29+32+63+33>
<http://twitter.com/audaxis>
<http://www.linkedin.com/company/audaxis>

[-- Attachment #2: Type: text/html, Size: 4514 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-09-30 17:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- 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

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).