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


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to