From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM2, NFS and random device (major:minor) numbers
Date: Fri, 14 Apr 2006 22:32:51 +0100 [thread overview]
Message-ID: <20060414213251.GH10725@agk.surrey.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0604141708370.4454@gate.nmr.mgh.harvard.edu>
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
next prev parent reply other threads:[~2006-04-14 21:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-14 14:08 [linux-lvm] LVM2, NFS and random device (major:minor) numbers Paul Raines
2006-04-14 14:50 ` Alasdair G Kergon
2006-04-14 21:22 ` Paul Raines
2006-04-14 21:32 ` Alasdair G Kergon [this message]
2006-04-14 20:54 ` Sander Steffann
2006-04-14 21:36 ` Paul Raines
2006-04-19 15:44 ` [linux-lvm] " Paul Raines
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=20060414213251.GH10725@agk.surrey.redhat.com \
--to=agk@redhat.com \
--cc=linux-lvm@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).