All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] How do you create large numbers of LVs? (In the 1000s) Is it even possible?
@ 2005-07-28 19:09 Nathaniel Stahl
  2005-07-28 19:18 ` Ming Zhang
  0 siblings, 1 reply; 8+ messages in thread
From: Nathaniel Stahl @ 2005-07-28 19:09 UTC (permalink / raw)
  To: linux-lvm


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.

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

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

end of thread, other threads:[~2005-07-28 22:03 UTC | newest]

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

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.