Software-based VM-centric and flash-friendly VM storage + free version
Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)
-
thorsten
- Posts: 11
- Joined: Wed Apr 25, 2012 10:36 am
Wed Apr 25, 2012 10:47 am
[iSCSI SAN Software v5.8.0 (Build 20120307, [SwSAN], Win64]
I'm using the console version of StarWindService (StarWindService.exe --console). Targets that I create manually of via creating a device are not remembered when restarting StarWindService.exe (although devices are remembered). What could be the problem?
Thorsten
-
anton (staff)
- Site Admin
- Posts: 4021
- Joined: Fri Jun 18, 2004 12:03 am
- Location: British Virgin Islands
-
Contact:
Wed Apr 25, 2012 11:21 am
Can you ship configuration file of StarWind? BEFORE you add your target and AFTER? Thanks!
Regards,
Anton Kolomyeytsev
Chief Technology Officer & Chief Architect, StarWind Software

-
thorsten
- Posts: 11
- Joined: Wed Apr 25, 2012 10:36 am
Wed Apr 25, 2012 12:01 pm
Unfortunately I cannot attach any file because the forums software tells me for any file type (xml, txt, cfg) that the extension is not allowed
-
anton (staff)
- Site Admin
- Posts: 4021
- Joined: Fri Jun 18, 2004 12:03 am
- Location: British Virgin Islands
-
Contact:
Wed Apr 25, 2012 12:03 pm
You can use
support@starwindsoftware.com e-mail alias to send your cfg to.
thorsten wrote:Unfortunately I cannot attach any file because the forums software tells me for any file type (xml, txt, cfg) that the extension is not allowed
Regards,
Anton Kolomyeytsev
Chief Technology Officer & Chief Architect, StarWind Software

-
Anatoly (staff)
- Staff
- Posts: 1675
- Joined: Tue Mar 01, 2011 8:28 am
-
Contact:
Wed Apr 25, 2012 3:51 pm
We received you config files.
I see that in both config files you have
Code: Select all
<target name="test" alias="this is my target">
<lun id="0" device="ImageFile1" />
<lun id="2" device="DiskBridge3" />
</target>
This mean that starwind targets are actually there.
Would you kindly provide us with the screenshot after and before the reboot that would show that targets are missing?
Thank you
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
-
thorsten
- Posts: 11
- Joined: Wed Apr 25, 2012 10:36 am
Wed Apr 25, 2012 5:11 pm
Sorry??
The lines are actually
Code: Select all
<!-- TODO for v4
<targets>
<target name="test" alias="this is my target">
<lun id="0" device="ImageFile1" />
<lun id="2" device="DiskBridge3" />
</target>
</targets>
-->
Since the cfg file looks like XML to me, that would mean the target entry is actually commented out...
-
Max (staff)
- Staff
- Posts: 533
- Joined: Tue Apr 20, 2010 9:03 am
Wed Apr 25, 2012 5:37 pm
No they are not commented out. When you restart your target and devices are not created (I guess it's DiskBridge) what's written in a StarWind log? Can you restart the target and send zipped log back to support e-mail? Thanks!
Max Kolomyeytsev
StarWind Software
-
thorsten
- Posts: 11
- Joined: Wed Apr 25, 2012 10:36 am
Thu Apr 26, 2012 1:54 pm
So "<!--" does not introduce a comment and "-->" does not end it?
Anyway, I've sent screenshots and log files to support@...
Thanks, Thorsten
-
Alex (staff)
- Staff
- Posts: 177
- Joined: Sat Jun 26, 2004 8:49 am
Thu Apr 26, 2012 2:59 pm
Thorsten,
To make starwindservice write log files in console mode, run it with -o parameter:
StarWindService --console -o
It will store log files in \logs subdirectory.
By the way, are you running it with administrative privileges? Any program needs amdin rights to write files to \Program Files\... directory.
Without administrative privileges it wont' be able to store log files and to update .cfg file.
Best regards,
Alexey.
-
thorsten
- Posts: 11
- Joined: Wed Apr 25, 2012 10:36 am
Fri Apr 27, 2012 8:27 am
Alexey,
I am running StarWindService with "-o", that's how the log files got created I sent yesterday together with the screenshots. I'm also running StarWindService as admin and without UAC. If you had a look at the cfg file I sent you would see that the file got updated - with the device I created. It's just the target that is missing.
-
thorsten
- Posts: 11
- Joined: Wed Apr 25, 2012 10:36 am
Sat Apr 28, 2012 7:33 am
I fixed it myself. I removed the comment markers (<!-- -->) around the targets entry in starwind.cfg and after a restart of StarWindService.exe the target appeared, I attached my device to the target and the information was written to the config file. Also new targets were from then updated in the configuration file.
By the way: the fact that two StarWind staff members (Anatoly and Max) obviously didn't know how comments are introduced in StarWind's main configuration file (and refused to acknowledge their error after I made them aware of the obvious) makes me pretty much speechless.
-
Anatoly (staff)
- Staff
- Posts: 1675
- Joined: Tue Mar 01, 2011 8:28 am
-
Contact:
Sat Apr 28, 2012 8:26 am
Well that was my bad initially, so please take my appologies - it was pretty hard day here
One thing that we have just noticed is that your configuration file is from version 5.3. This could happen during upgrade in case if it was performed not correctly.
I would strongly recommend to copy your config somewhere (for bakcup mostly), run StarWind installer and install everything in the same location, where StarWind is located now. If you will not do this you may get some isssues with functionality due to poddibility of different-versions-conflict.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
-
anton (staff)
- Site Admin
- Posts: 4021
- Joined: Fri Jun 18, 2004 12:03 am
- Location: British Virgin Islands
-
Contact:
Sat Apr 28, 2012 7:15 pm
Either way should work. Comments are expected to be ignored. Looks like "somebody" has updated XML parser.
P.S. Thank you for clarification I'll cancel both guys bonuses for the month.
Regards,
Anton Kolomyeytsev
Chief Technology Officer & Chief Architect, StarWind Software

-
thorsten
- Posts: 11
- Joined: Wed Apr 25, 2012 10:36 am
Sat Apr 28, 2012 8:10 pm
Anatoly,
shouldn't ConfigUpdater do this for me? I ran it but it didn't generate any changes.
Thorsten