[Ocfs2-tools-devel] [RFC] changing default block device detection method and more

Fabio Massimo Di Nitto fabbione at ubuntu.com
Mon Nov 26 22:36:21 PST 2007


Joel Becker wrote:
> On Tue, Nov 20, 2007 at 08:26:06PM +0100, Fabio Massimo Di Nitto wrote:
>> Sunil Mushran wrote:
>>> Apart from what you've pointed out, we have also to deal with multipath
>>> and lvm.
>> scanning /dev will catch all of those automatically without special tricks.
> 
> 	Yeah, and we possibly have to solve scan ordering here (that is,
> dm-N is a multipath of sd{MO}, so we want to see dm-N first).  We had
> that problem in /proc/partitions too, but it's good to be aware of it.

I spoke briefly with Mark about this. Last time I did try to access a multipath
slave it was locked by multipath itself. He did experience otherwise.
I still had no time to verify it (since it might have been some specific Ubuntu
patch) but ordering in this specific case matters.

We can for sure prefer dm-* before other block devices. It's only a matter of
filtering in the right order.

Fabio

-- 
I'm going to make him an offer he can't refuse.



More information about the Ocfs2-tools-devel mailing list