Bug#623613: Removing SAN mapping spawn interruptible process

Ritesh Raj Sarraf rrs at researchut.com
Thu Apr 21 22:59:51 UTC 2011


On 04/22/2011 01:30 AM, Laurent Bigonville wrote:
> When I'm removing a LUN mapping (association to the machine) using the
> SAN manager, it seems that udev is starting several:
>
What is a SAN Manager here? An external tool?

Steps when unmapping a LUN is:
* Ensure it has been freed from the initiator. (Includes FS, DM)
* Unmap LUN on target
* Rescan scsi bus on Initiator

> /sbin/kpartx -a -p -part /dev/dm-0
> /sbin/blkid -o udev -p /dev/dm-0
>
> these process are in D (interruptible sleep) state because the machine
> cannot access them anymore.
>
> Steps:
>
> multipath -f lun_name
> echo "- - -" >/sys/class/scsi_host/$hba/scan
> /etc/init.d/multipath-tools reload
>
> multipath -ll now shows a mpath0 path that cannot be removed (mpath0:
> map in use).
>
> I guess this is a bad integration with udev/kpartx/dmsetup
>


-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20110422/9335e05f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20110422/9335e05f/attachment.pgp>


More information about the pkg-lvm-maintainers mailing list