lkml.org 
[lkml]   [2012]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Why minor is still 8 bit?
From
Date
On Tue, 2012-06-05 at 05:08 +0400, George Shuklin wrote:
> Anyway, using LVM to provide logical volumes to customers seems be fine
> (at least by name). But that limitation for minor is breaking whole idea.

man 8 vgcreate reads (in part):
-l, --maxlogicalvolumes MaxLogicalVolumes
Sets the maximum number of logical volumes allowed in this
volume group. The setting can be changed with vgchange. For
volume groups with metadata in lvm1 format, the limit and
default value is 255. If the metadata uses lvm2 format, the
default value is 0 which removes this restriction: there is then
no limit.

Doesn't that option work for you (assuming you're not stuck on lvm1
format)? If not, where do things go wrong?

(Note that I never worry about this limit, since I never use more than a
handful of logical volumes per volume group.)


Paul Bolle



\
 
 \ /
  Last update: 2012-06-05 12:01    [W:0.064 / U:2.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site