Re: make initiators "rescan" the device?

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

 



On Thu, Oct 30, 2008 at 11:04 AM, FUJITA Tomonori
<fujita.tomonori@xxxxxxxxxxxxx> wrote:
> On Wed, 29 Oct 2008 12:26:58 +0100
> Tomasz Chmielewski <mangoo@xxxxxxxx> wrote:

>> Is it possible to send a reset/rescan to all initiators connected to a
>> given target, which would trigger the initiator to rescan the device
>> (and its size)?
>
> A scsi device can notify initiators of such event via UA (unit
> attention), google "CAPACITY DATA HAS CHANGED". tgt has the mechanism
> to handle UA so it's easy to support it. However, on the initiator
> side, Linux doesn't detect such event automatically.
> --

I guess this is dependent on the transport, but at least for iSCSI the
way to do this by sending an AsynchronousRequest to the initiator.
To send to connected initiators when a lun changes in size,
also to all connected (and affected) initiators if the lun masking
changes for the target.


Are you saying that Linux initiators do not understand AsyncRequest PDUs ?


regards
ronnie sahlberg
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux