* [linux-lvm] device-mapper major number
@ 2004-09-14 18:43 rich turner
2004-09-14 18:53 ` Alasdair G Kergon
0 siblings, 1 reply; 2+ messages in thread
From: rich turner @ 2004-09-14 18:43 UTC (permalink / raw)
To: LVM general discussion and development
how is the major number device-mapper assigned? i have one system that
has it as 253 (mdp is 254) and one that has it as 254 (from
/proc/devices). is there anyway of loading dm-mod with a certain major
number?
the reason i ask is because when lilo is run it writes the root device
major and minor number to the disk. if the major number happens to
change when the system boots up then there is a possibility of the root
filesystem (built on lvm) not being mounted.
also, when i create a logical volume with "persistent y" it requires me
to indicate the major and minor numbers for the device. i understand
needing the minor number but why the major number? in fact, it just
ignores the number i indicate for the major number anyways and uses the
major number for device-mapper. my memory may be failing me but it seems
that the major number was not needed to create a persistent logical
volume in the past.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] device-mapper major number
2004-09-14 18:43 [linux-lvm] device-mapper major number rich turner
@ 2004-09-14 18:53 ` Alasdair G Kergon
0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2004-09-14 18:53 UTC (permalink / raw)
To: LVM general discussion and development
The answers differ depending on which device-mapper you're using.
e.g. kernel 2.4 dm supports multiple major numbers; 2.6 dm does not yet.
At various times the parameter 'major' let you set the major number;
unsure of the current status.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-14 18:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-14 18:43 [linux-lvm] device-mapper major number rich turner
2004-09-14 18:53 ` Alasdair G Kergon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox