Imagefile in Non-Active state

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Anatoly (staff), Max (staff)

Post Reply
instantteddy
Posts: 2
Joined: Fri Feb 17, 2017 8:57 am

Fri Feb 17, 2017 9:10 am

Hi forum members!

We have one starwind 8.0 server that used to have a target with an flat type imagefile attached to it. After some problems with our drobo we needed to restart the drobo. After the restart our imagefile for the specific target we created in Starwind went in a Non-Active state. We do not use HA and we have not upgraded from 6 to 8 as described on different places could be the cause. It worked well before the drobo restart. What could have caused this and is there any good solution to get back our data from the imagefile? I will attach a image from our Starwind server and also the swdsk file content of the corresponding imagefile below. Thanks in advance guys and i should point out that i am relative new to the Starwind solutions.

Content of the swdsk as it is right now:

<?xml version="1.0" encoding="UTF-8"?>
<header signature="StarWind" version="1.0">
<device active="true" plugin="imagefile" name="imagefile">
<storages>
<storage id="1" type="device" name="imagefile" lun="0">
<interval size="500" units="GB"/>
<inquiry>
<serial_id>CF7AB7678E09DF23</serial_id>
<vendor id="STARWIND"/>
<product id="STARWIND " revision="0001"/>
<eui_64>CF7AB7678E09DF23</eui_64>
</inquiry>
<geometry>
<sector size="512" psize="4096"/>
<track sectors="16"/>
<cylinder tracks="32" count="65535"/>
</geometry>
</storage>
</storages>
</device>
<system>
<resources>
<storages>
<storage id="1" name="My Computer\E\image.img" type="file">
<interval size="500" units="GB"/>
</storage>
</storages>
<network/>
</resources>
</system>
<node id="1" name="imagefile" shut="false" active="true">
<storages>
<storage_ref id="1"/>
</storages>
<parameters>
<asyncmode>no</asyncmode>
</parameters>
</node>
</header>

Starwind Management Console
Starwind Management Console
starwindproblem.PNG (24.44 KiB) Viewed 5988 times
Michael (staff)
Staff
Posts: 319
Joined: Thu Jul 21, 2016 10:16 am

Fri Feb 17, 2017 5:56 pm

Hello,
In most cases, devices become Non-Active in case if underlying storage (in your case E:\) disappeared. In order to resolve the issue try to restart StarWind service.
Also, it makes sense to check the information about RB target and device in StarWind configuration file ("C:\Program Files\StarWind Software\StarWind\StarWind.cfg").
Each device name or device file should correspond to target name.
Please see below the example:

Code: Select all

...
    <device file="My Computer\E\RB.swdsk" name="imagefile1"/>
    </devices>
  <targets>
    <!--<target name="targetname" alias="my target" devices="ImageFile0,ImageFile1"/>-->
    <target name="iqn.2008-08.com.starwindsoftware:id-rb" devices="imagefile1" alias="RB" clustered="Yes"/>
  </targets>
...
If you are going to edit the configuration file, firstly stop StarWind service, make a copy of config. file, edit and save it and then start the service.
instantteddy
Posts: 2
Joined: Fri Feb 17, 2017 8:57 am

Mon Feb 20, 2017 12:55 pm

Thank you Michael for the response. I will look into this and will update if i have some success in getting my device up and running. Again, tnx!
Michael (staff)
Staff
Posts: 319
Joined: Thu Jul 21, 2016 10:16 am

Wed Feb 22, 2017 8:22 am

Hello! Any update here?
Post Reply