[Stgt-devel] Open connections

Niels de Carpentier stgt
Tue Apr 8 17:12:56 CEST 2008


> FUJITA Tomonori schrieb:
>>
>> Hmm, that's bad. At least, before apllying this patch, it worked
>> better (though we had the open connection problem), right?
>
> That's more problematic.
> The last version I used was the one found in
> http://stgt.berlios.de/releases/ - I had rather unpleasant experiences
> with using development versions of other Linux iSCSI targets, so I
> decided to stick with at least semi-stable tar.bz2 package.
>
> As I had the same problem with open connections when initiator was
> restarted, I though I'd give development version of tgt a try.
>
> It mostly solves my problem, but sometimes the connection dies
> (connection times out, remount ro etc.) after restarting.

Restarting the initiator or the target? If you restart the target while
there are initiators connected, you need the offline patch as well (This
patch was posted to the list, but not merged). This will allow you to put
the target offline while you configure it, and put it online again when it
has been configured.
>
> Other problem I had with today's git is that tgtd "hangs", i.e., the
> process still exists, but:

There should be 2 processes, probably 1 died? I've had this happen during
a initiator reconnect while the target was being configured. Putting the
target offline during configuration has solved all these issues for me.

Niels





More information about the stgt mailing list