[dm-devel] Multipath target - internals?

Lazar Obradovic laza at yu.net
Fri Sep 10 02:03:36 UTC 2004


Hi, 

is there a document describing inner works of DM multipath target?

I did some testing and found out that detecting redundant paths works
just like it should (kudos for christophe), load-balancing too, but
detecting failed path, for some reason, does not (or perhaps it is, but
too late). 

I'm using GFS on top of multipathed virtual disk, and it seems that DM's
timeout is a bit larger than GFS's. Shutting down one port on FC switch
(thus, disabling at least one path) causes GFS to freeze and then hang
with kernel panic (reporting that /dev/sda had physical errors - if you
want, I could post logs). 

Skimming through code, I've found that DM will declare some path as
unusable after some error count / rate. Is this true and where is it
defined exacly? Can someone point me to the right direction so I could
tweak DM a bit?

-- 
Lazar Obradovic, System Engineer
----- 
laza at YU.net
YUnet International http://www.EUnet.yu
Dubrovacka 35/III, 11000 Belgrade
Tel: +381 11 3119901; Fax: +381 11 3119901
-----
This e-mail is confidential and intended only for the recipient.
Unauthorized distribution, modification or disclosure of its
contents is prohibited. If you have received this e-mail in error,
please notify the sender by telephone +381 11 3119901.
-----





More information about the dm-devel mailing list