Disk manager asks to initialize disk that previously had starwind device

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

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

Post Reply
carobell
Posts: 6
Joined: Thu Mar 22, 2018 1:41 pm
Location: Canada

Mon May 14, 2018 1:02 pm

I have 3 nodes configured and working with starwind version 11456 (following this problem I had with MPIO https://forums.starwindsoftware.com/vie ... f=5&t=4972) and one of the nodes, after an update (i suppose), does not see the disk that was used for starwind anymore. When I open disk manager it asks me to initialize the disk, then tells me I can't since it cannot find the specified file. The disk is marked as "unknown", Not initialized" and I cannot do anything with it as it says it cannot find it. When I enumerate the targets with the starwind script it gives out info but it is all mostly empty. There is no size and it just does not exist anymore.

My question is, how do I add back this server to the trio without breaking my production ?
If I delete the device and target, would I be able to add it back to starwind ? Or do I have to start everything over (how without closing vms ?)

I am using the free version, evrything done in powershell and I have not yet tested on the new build (12146) so I do not know if everything would be resolved if I upgrade.
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Tue May 15, 2018 7:32 am

Could you share any screenshots and/or script output? Have you checked whether the disks and the header files (*.swdsk) are still in place?
carobell
Posts: 6
Joined: Thu Mar 22, 2018 1:41 pm
Location: Canada

Tue May 15, 2018 1:46 pm

So I wrote a whole lot but the forum unlogged me before I could post.

The only option I have for the disk is initialization, there is nothing in the disk as it does not "exist" anymore.
If I try to access it from explorer I get a "disk is unaccessible"

Here's enumDevicesTargets unmodified on the node

Code: Select all

Targets:
Name        : iqn.2008-08.com.starwindsoftware:192.168.0.41-storage
Id          : 0x000001E16C284200
Alias       : storage
IsClustered : True
Devices     : System.__ComObject
Permissions : System.__ComObject
Type        : 

Devices:
Name                   : HAImage1
DeviceType             : 
DeviceId               : 0x000001E16B88E7C0
File                   : My computer\V\VSAN\Storage_HA.swdsk
TargetName             : iqn.2008-08.com.starwindsoftware:192.168.0.41-storage
TargetId               : 0x000001E16C284200
Size                   : empty
CacheMode              : wt
CacheSize              : 128
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              : 
IsSnapshotsSupported   : False
Snapshots              : 
SectorSize             : 

Name                   : imagefile1
DeviceType             : 
DeviceId               : 0x000001E16B88E500
File                   : 
TargetName             : empty
TargetId               : empty
Size                   : empty
CacheMode              : empty
CacheSize              : empty
CacheBlockExpiryPeriod : empty
Exists                 : True
DeviceLUN              : 
IsSnapshotsSupported   : False
Snapshots              : 
SectorSize             : 
If I format the disk, give it the same letter and folder, would it be possible to "restore" the fils in some way ?
Could I just copy/paste from another node or edit a file somewhere ?
If I do not format the disk, I just end up with a node without storage.

EDIT : Looking at the .swdsk files, the only information I would be missing are the serial_id and eui_64. Everything else is the same in all the nodes. and the HA.swdsk also as all the same info except target names and adresses. Then there is the .img, but I would suppose a synchronisation would happen to make that work out ?
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Tue May 15, 2018 3:08 pm

Submit a support ticket addressing me via https://www.starwindsoftware.com/support-form and reference this thread.
Post Reply