[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM2, NFS and random device (major:minor) numbers



On Fri, Apr 14, 2006 at 05:22:20PM -0400, Paul Raines wrote:
> that depend on a persistent device id.

2.4 kernel supported both persistent major and persistent minor

But the changes to do that came after 2.6 forked off and they have
never been ported to 2.6.

So the tools pretend to let you specify the major - on 2.4 this
works - but on 2.6 it's ignored by the kernel.  I expect someone 
will fix the kernel side of this some day so it works like
the 2.4 version in which device-mapper can use different major
numbers for different devices.

You should be able to specify the device-mapper major number 
at boot/module load time though, as the 'major' parameter, instead
of having a dynamic one.

Persistent minors, as you discovered, should be allocated from
the top of the range.
 
Alasdair
-- 
agk redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]