Page 1 of 1

Connected but not connected

Posted: Mon Aug 01, 2005 8:03 pm
by Tim
Hi, me again. You gonna get fed up with me :wink:

Ok, I just removed all my software firewalls to aviod any further problems.
(I'm behind a hardware NAT/SPI router so i'm OK for now).

I shared a HD (non SYSTEM or PAGEFILE) from the server (MARS) and connected from this machine (EARTH).
I could read and write without a problem.

Testing over, I went to StarPort to remove the device.
I got some error about the drive being in use.
OK, no problem there, something is still hanging onto it

But now the drive connection has gone from StarPort.
StarWind (on MARS) still shows an active connection from EARTH.
I cannot remove it from StarWind because it says it's in use!!!

I cannot re-add it to StarPort, I just get an error.
Bit of a catch 22 eh?

Posted: Mon Aug 01, 2005 8:21 pm
by Tim
I got round the problem like this:

1) start CMD.EXE

Type NET STOP STARWINDSERVICE

(that gave an error but still stopped)

2) Edit the StarWind.conf file to remove the add device entry.

3) NET START STARWINDSERVICE.

Now It's all back to normal.

Posted: Mon Aug 01, 2005 8:59 pm
by anton (staff)
Not sure stopping the serivce is a good idea. Other shared devices would be lost together with hanging one... Valery, would you be so kind to check this issue? Thanks!

Posted: Mon Aug 01, 2005 9:33 pm
by Tim

Code: Select all

Not sure stopping the serivce is a good idea. Other shared devices would be lost together with hanging one...
It's OK, I only had the one connection going at that time.

Posted: Mon Aug 01, 2005 10:08 pm
by Val (staff)
Tim,

We know about the issue with StarWind not closing a session. It happens rather rarely, but it seems there is a bug that leads to the problem.
We'll try to pin out and fix it in the nearest future.

As a work-around you could allow several sessions to the target. (for example -share:rw -sessions:2) or use an ImageFile target with -clustered:yes.
This will allow the initiator to log in the next time after a previous hanged disconnect...

Posted: Mon Aug 01, 2005 10:17 pm
by Tim
OK, thanks.

Apart from some small problems, StarWind and StarPort really do rock!

Posted: Tue Aug 02, 2005 12:28 am
by anton (staff)
Thank you very much for your remark! We would do our best to meet your expecations :)

P.S. And you should see new version of StarWind coming soon. A LOT of new features (including software RAID, volume snapshots, replication, Web UI etc etc etc). Hold on!

:)
Tim wrote:OK, thanks.

Apart from some small problems, StarWind and StarPort really do rock!

Posted: Sun Aug 07, 2005 11:58 am
by Tim
I found that the problem also occurs if I reboot the initiator machine.

The StarWind target still shows a connection so when the StarPort machine reboots it cannot re-connect because that connection is in use.
As a work-around you could allow several sessions to the target. (for example -share:rw -sessions:2) or use an ImageFile target with -clustered:yes.
Instead in having to edit the CONF file you really need to put this stuff in the GUI.

Posted: Sun Aug 07, 2005 6:36 pm
by Val (staff)
Hi Tim,

The issue with not closing old sessions on reconnection has been reported by several people. We're working on it.
I think it will be fixed in a couple of days.

Posted: Mon Sep 05, 2005 10:20 am
by Val (staff)
valery (staff) wrote:Hi Tim,

The issue with not closing old sessions on reconnection has been reported by several people. We're working on it.
I think it will be fixed in a couple of days.
Hi All,

I'd like to notify you that the problem with reconnection seems to be fixed in the recent release 2.6.4 build 20050901.

The only issue is using 2 different ISID values by the MS initiator, that could sometimes prevent reconnection if the old and the new ISIDs are not equal.

Posted: Mon Sep 05, 2005 3:17 pm
by Tim
Yep, once again things are looking good.

I have been trying to break it but all seem OK. 8)

Posted: Mon Sep 05, 2005 9:00 pm
by anton (staff)
Very good! I'd even say EXCELLENT! :)
Tim wrote:Yep, once again things are looking good.

I have been trying to break it but all seem OK. 8)