Re: LVM2, NFS and random device (major:minor) numbers

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

 



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

_______________________________________________
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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux