[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



 
On Thur, October 21, 2010 8:22 PM, Rudy Gevaert wrote:
> On 10/21/2010 09:28 AM, Chauhan, Vijay wrote:
> 
> > Try with disabling the queuing before removing the map.
> >
> > dmsetup message mail14r-ds3400-1 0 "fail_if_no_path"
> 
> Hi
> 
> When I do that, and then unmap the lun.
> 
> If I then rescan an issue multipath I get:
> 
> root cyrprd1:~# multipath
> create: 1                 undef IBM,1726-4xx  FAStT
> size=550G features='1 queue_if_no_path' hwhandler='1 rdac' wp=undef
> `-+- policy='round-robin 0' prio=0 status=undef
>    |- 0:0:0:3 sdd 8:48  undef faulty running
>    `- 5:0:0:3 sdl 8:176 undef faulty running
> <hang>
> 
> 

You may not get into this issue if you follow these steps:

step 1) Delete the paths for the dm device to be unmapped. (Ensure that this dm device is not being used for IO)
	  Once the last path is deleted, multipathd will remove this map.
 
step 2) Unmap the LUN from storage.

Hope this helps.

Regards,
Vijay


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]