|
Re: [multipath-tools] multipath -ll and offline devices: msg#00066linux.kernel.device-mapper.devel
On Fri, Sep 23, 2005 at 03:56:50PM +0200, Stefan Bader wrote: > Hi, > > I got a report about strange behaviour of "multipath -l" if one of the > devices that are used for > multipathing is set offline. In that case the code in libmultipath > (discovery.c) just ends processing > and the output is incomplete. > > The problem is that setting a scsi device offline (through sysfs state > attribute) will remove the > device node in /dev. And this will cause pathinfo to abort which gives no > output at all. > This looks strange and in that situation the path could be assumed as > failed. On the other hand > if the device node just had been removed "failed" wouldn't be a correct > state. > > One solution might be to use the state attribute of the scsi device > (wasn't that once called online? > *sigh*) to check for an offline device and set the path state to failed in > that case. Or should the map > get updated as soon as the device is set offline, to remove the path? > Thanks for the report, I merged a fix. Can you report on its behaviour ? Regards, cvaroqui |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [RFC][multipath-tools] device nodes: 00066, Christophe Varoqui |
|---|---|
| Next by Date: | Re: [multipath-tools] multipath -ll and offline devices: 00066, Stefan Bader |
| Previous by Thread: | [multipath-tools] multipath -ll and offline devicesi: 00066, Stefan Bader |
| Next by Thread: | Re: [multipath-tools] multipath -ll and offline devices: 00066, Stefan Bader |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |