[dm-devel] unmapping luns doesn't work (good)

Chauhan, Vijay Vijay.Chauhan at lsi.com
Thu Oct 21 07:28:36 UTC 2010


On  Monday, October 18, 2010 8:54 PM, Rudy Gevaert wrote:
> Case 1:
> -------
> multipath -l
> 
> mail17r-ds3400-1 (3600a0b80005a67b6000004764cac4912) dm-2 
> IBM,1726-4xx 
> FAStT
> size=550G features='1 queue_if_no_path' hwhandler='1 rdac' wp=rw
> |-+- policy='round-robin 0' prio=-1 status=active
> | `- 0:0:0:6 sde 8:64  active undef running
> `-+- policy='round-robin 0' prio=-1 status=enabled
>    `- 5:0:0:6 sdj 8:144 active undef running
> 
> root at cyrprd1:~# dmsetup table
> mail17r-ds3400-1: 0 1153433600 multipath 1 queue_if_no_path 1 
> rdac 2 1 
> round-robin 0 1 1 8:64 1000 round-robin 0 1 1 8:144 1000
> 
> I now remove mapping through the storage software.

Try with disabling the queuing before removing the map. 
 
dmsetup message mail14r-ds3400-1 0 "fail_if_no_path"
 
> 
> root at cyrprd1:~# multipath -f mail14r-ds3400-1
> Oct 18 17:07:09 | mail14r-ds3400-1: map in use
> 

Regards,
Vijay




More information about the dm-devel mailing list