Linux LVM users
 help / color / mirror / Atom feed
From: Jonathan E Brassow <jbrassow@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	mingz@ele.uri.edu
Subject: Re: [linux-lvm] How do you create large numbers of LVs? (In the 1000s) Is it even possible?
Date: Thu, 28 Jul 2005 15:32:46 -0500	[thread overview]
Message-ID: <511428deb4d089c0e0d213b7e81a9fe7@redhat.com> (raw)
In-Reply-To: <1122578286.9888.47.camel@localhost.localdomain>

I think the problem you are seeing is similar to the one found in 
bugzilla (164198).  Would you be willing to add some notes there?  It 
will give you a place to track the progress...

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=164198

  brassow

On Jul 28, 2005, at 2:18 PM, Ming Zhang wrote:

> On Thu, 2005-07-28 at 12:09 -0700, Nathaniel Stahl wrote:
>> We'd like to be able to create a large number of LVs (potentially
>> numbering in the low thousands).  I get failure after LV 226 or so,
>> though - "VG VolGroup01 metadata writing failed".
>>
>> RedHat claims this should be possible with LVM2 on the following web 
>> page:
>>
>> http://www.redhat.com/magazine/009jul05/features/lvm2/
>>
>> I admit to being a little suprised at the 2^32 max LV claim - I was
>> figuring 2^20 as the theoretical max given 2.6's 32 bit device 
>> numbering
>> scheme (20 bits for minor, 12 bits for major).
>>
>> The LVM2 code, at least version 2.00.25 as distributed in FC3, appears
>> to have a check that the minor number is strictly less than 256.
>> Removing this check allows for the creation of working LVs using 
>> minors
>> greater than 256, but LV creation fails with the error "VG VolGroup01
>> metadata writing failed" creating the 227th LV.  Even with the minor
>> limit in place - I can't create more than 226 LVs.
>
> i asked this question before. there is a hard coded limitation in lvm
> metadata, so the real number is like this, limited around 2xx. the
> limitation will be removed in near future. how near? i do not know. :)
>
>
>>
>> Is there a patch that allows this limit to be broken?  Should I be 
>> using
>> a newer version of the tools?  If not currently possible, is this
>> something that will be in the near future?
>>
>> Thanks for any help/advice you can give.
>>
>> -Nate Stahl
>>
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm@redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

  reply	other threads:[~2005-07-28 20:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28 19:09 [linux-lvm] How do you create large numbers of LVs? (In the 1000s) Is it even possible? Nathaniel Stahl
2005-07-28 19:18 ` Ming Zhang
2005-07-28 20:32   ` Jonathan E Brassow [this message]
2005-07-28 20:38     ` Ming Zhang
2005-07-28 20:49       ` Jonathan E Brassow
2005-07-28 21:26         ` Ming Zhang
2005-07-28 22:00           ` Jonathan E Brassow
2005-07-28 22:03             ` Ming Zhang

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=511428deb4d089c0e0d213b7e81a9fe7@redhat.com \
    --to=jbrassow@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=mingz@ele.uri.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox