Bug#623613: Removing SAN mapping spawn uninterruptible process

Ritesh Raj Sarraf rrs at debian.org
Sat Apr 23 16:11:00 UTC 2011


On 04/22/2011 02:34 PM, Laurent Bigonville wrote:
> Doing echo 1 > /sys/block/sd*/device/delete as a last step (and before
> issuing multipath -r) seems to fix the issue, so the problem here maybe
> lies in udev which is not removing the nonexistent devices after a SCSI
> rescan?
So you have a stale scsi device issue. The target, upon unmap, is
supposed to provide sense code to the initiator (while triggering the
rescan).
scsi, by design, does have these problems. Can you try the
rescan-scsi-bus.sh script from Kurt's website? We work a lot on that and
it has good results.
I'll file an ITP to package and ship that as it is an important tool in
the Linux SAN space.


http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh-1.48

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


-------------- 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/20110423/c1cf94e3/attachment.pgp>


More information about the pkg-lvm-maintainers mailing list