[dm-devel] how to flush device with no paths but no_path_retry=queue

Mike Anderson andmike at linux.vnet.ibm.com
Fri Nov 2 20:01:33 UTC 2007


Eddie Williams <Eddie.Williams at steeleye.com> wrote:
> 
> If you have a device configured with no_path_retry=queue but you can not
> repair the connections is there any way to flush the IO's?  
> 
> I can not find a way to force the device offline so that it will
> flush/fail all of the pending IO's so I can shutdown or clean up the
> mess.
> 
> Is there a way?

There maybe a cleaner way, but you should be able to do:
	dmsetup message ${device} 0 fail_if_no_path

It worked on my test config, but it was a pretty simple config.

-andmike
--
Michael Anderson
andmike at linux.vnet.ibm.com




More information about the dm-devel mailing list