[dm-devel] [multipath-tools] multipath -ll and offline devices

Christophe Varoqui christophe.varoqui at free.fr
Mon Sep 26 09:30:23 UTC 2005


On Mon, Sep 26, 2005 at 11:08:05AM +0200, Stefan Bader wrote:
> Hi Christophe,
> 
> looks good. After setting a device offline it is reported as failed by 
> 'multipath -ll'.
> Just calling 'multipath' will remove the offline device which makes sense. 
> The path
> can be re-established by calling multipath again after returning the 
> device to online
> state.
> 
Good, I'm uploading another fix :

When the daemon runs while test your scenario you'll notice multipath won't load the map because it get a wwid 
for the path from the daemon cache, which causes multipath to try to load a map *with* the faulty path ... which 
fails in the kernel DM subsystem.

Fix is memseting pp->wwid in discovery.c:pathinfo() error path.

Regards,
cvaroqui




More information about the dm-devel mailing list