* Major number for multipath block devices
@ 2013-05-07 0:09 Kumar amit mehta
2013-05-07 0:23 ` Kumar amit mehta
0 siblings, 1 reply; 2+ messages in thread
From: Kumar amit mehta @ 2013-05-07 0:09 UTC (permalink / raw)
To: kernelnewbies
Hi,
I've a query regarding the major numbers for block devices that the
block layer would provide (upon invocation of register_blkdev() with '0'
as the major number) for the multipath devices, i.e. If I have one
logical volume(Talking in LVM terms)and have two paths to the same
logical volume, then it seems that the two logical volumes will have the
same major number(refer [1]). I think, to achieve this, dm-mapper would
consult with dm-multipath, but I'm finding it difficult to locate this
piece of interaction (considering that my assumption is true) between
the device mapper layer and the dynamic multipath kernel module. Can
someone please educate me here.
[1] http://plone.uconn.edu/Members/jar02014/linux-lvm-and-multipath-configration.
-Amit
^ permalink raw reply [flat|nested] 2+ messages in thread
* Major number for multipath block devices
2013-05-07 0:09 Major number for multipath block devices Kumar amit mehta
@ 2013-05-07 0:23 ` Kumar amit mehta
0 siblings, 0 replies; 2+ messages in thread
From: Kumar amit mehta @ 2013-05-07 0:23 UTC (permalink / raw)
To: kernelnewbies
On Mon, May 06, 2013 at 08:09:03PM -0400, Kumar amit mehta wrote:
> If I have one logical volume(Talking in LVM terms)and have two paths to the
> same logical volume, then it seems that the two logical volumes will have the
> same major number(refer [1]).
My apologies for typo mistake above. I meant, If I have one logical
volume(Talking in LVM terms)and have two paths to the same logical
volume, then it seems that, there will be "two" entries under /dev
(as we have two paths to the same logical volume) and both these
block devices (say, /dev/sdk1, /dev/sdk2) have the same major number,
and different minor numbers.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-07 0:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 0:09 Major number for multipath block devices Kumar amit mehta
2013-05-07 0:23 ` Kumar amit mehta
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).