Disk Bridging Bug Report

Public beta (bugs, reports, suggestions, features and requests)

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

AKnowles
Posts: 27
Joined: Sat Feb 15, 2014 6:18 am

Sun Mar 02, 2014 2:51 am

Just a quick update on the new RC build on disk bridging. I upgraded my current build after deleting the LUNs. I rebuilt my think, thin, and SSD (disk bridge) to test the behavior against the previous build. The disk bridging killed Starwind. Hung up the RPC Server so I couldn't do much of anything with the Computer Manager. The Starwind console could not connect to the service either.

I managed to recover the situation by stopping the Starwind service, using diskpart to select the SSD, clean the SSD, then take it ofline, and finally restart the Starwind service. I'll post the original log, but will try a few more clean boots and options this weekend if possible.
Attachments
192.168.1.191-3261-service-starwind-20140301-180827.zip
(18.64 KiB) Downloaded 1316 times
User avatar
anton (staff)
Site Admin
Posts: 4008
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Sun Mar 02, 2014 12:00 pm

Nice... Thank you for reporting we'll check this out!
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Mon Mar 03, 2014 11:07 am

AKnowles,
Could you please send us also the previous log file? StarWind service starts new log file after each restart, so I assume, all the interesting records are there.
Current file contains records starting from 3/1 18:08:27.854 .
Best regards,
Alexey.
AKnowles
Posts: 27
Joined: Sat Feb 15, 2014 6:18 am

Mon Mar 03, 2014 4:22 pm

The file is too large. Compress it is a bit over two MB. Can I e-mail it or post it elsewhere for you?
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Mon Mar 03, 2014 4:38 pm

Exactly! You can compress it and drop it to me: av@starwind.com
Please note that if the archive will be larger then 10MBs you`ll it will not pass our mail filters, so it will be better to upload it to some file hosting service (GDrive, DropBox, etc) and share the link with community or with me personally, after. Please don`t forget to put the reference to this thread if you`ll send me the email.

Thank you
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
AKnowles
Posts: 27
Joined: Sat Feb 15, 2014 6:18 am

Mon Mar 03, 2014 4:46 pm

It is on the way.
User avatar
anton (staff)
Site Admin
Posts: 4008
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Mon Mar 03, 2014 9:31 pm

Thank you! We'll take a look as soon as we'll get the stuff :)
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Thu Mar 06, 2014 3:28 pm

AKnowles,
We have reviewed the logs. The only wrong thing in logs is error on locking the volumes of SSD storage.
When DiskBridge opens device, it tries to lock volumes that reside on this device. This is needed to exclude possibility of simultaneous access to disk volumes from server' OS and from client that have access to this disk via iSCSI. When disk volumes are in use on the server, StarWind fails to lock the disk and returns error to iSCSI initiator that connects to the target.

One thing - we have tried this in our lab and it works as expected: Initiator hangs up for several seconds and displays error. Server processes connection from Management Console and from other targets without errors.

Have you faced the same issue again after the first time? Is it easy to reproduce the issue on your server?
Best regards,
Alexey.
AKnowles
Posts: 27
Joined: Sat Feb 15, 2014 6:18 am

Thu Mar 06, 2014 5:06 pm

I haven't had a chance to try it again as I have been studying for my VCAP-DCA exam on Saturday, but I will try a few things on Sunday to see what happens.
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Thu Mar 06, 2014 5:15 pm

Thank you!
Best regards,
Alexey.
AKnowles
Posts: 27
Joined: Sat Feb 15, 2014 6:18 am

Mon Mar 24, 2014 5:49 pm

Anton,

Just a follow up. I'm still having an issue with disk bridging. Almost the same issue as previously. I was able to create the disk bridge without taking the disk offline. But then ESXi 5.5 could not format it with the previous GPT partition. So, after taking it offline, cleaning it, then reattaching it to Starwind RC1 I could present it to ESXi 5.5, but it would not format it (different error). Even after a reboot of the ESXi hosts and the Starwind Server it could not be formatted.

I'm going to try and start with a clean slate on it and see if that work. In the meantime, here's my log from my attempts ...
Attachments
192.168.1.191-3261-service-starwind-20140321-221027.zip
Log - zipped
(33.55 KiB) Downloaded 1367 times
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Fri Mar 28, 2014 4:51 pm

I have reviewed the logs. Every write attempt ends with "The media is write-protected." error (code 19).
Could you please show also Windows Event log records? May be, there we'll find some clues to issues with locking device for read-write access.
Best regards,
Alexey.
AKnowles
Posts: 27
Joined: Sat Feb 15, 2014 6:18 am

Sun Apr 06, 2014 3:36 am

Alex,

I will purge both teh Windows & Starwind logs, reboot, and try and replicate the event and provide both sets of logs to you.

Thnaks,

Art
AKnowles
Posts: 27
Joined: Sat Feb 15, 2014 6:18 am

Tue May 06, 2014 10:40 pm

Just an update. I used the latest build and can once again create a disk bridge. But it only worked when I cleaned the disk (removed all partitions) and left the disk online. In prior builds it needed to be offline. I'm not sure if this is a quirk of Windows Server 2012 R2 or not. I'll see if I can do a bit more testing on the weekend, but I was happy to just be able to mount it once again.
User avatar
anton (staff)
Site Admin
Posts: 4008
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Tue May 06, 2014 10:56 pm

Various "issues" like this is one of the reasons say MSFT had ripped this functionality off their target...
AKnowles wrote:Just an update. I used the latest build and can once again create a disk bridge. But it only worked when I cleaned the disk (removed all partitions) and left the disk online. In prior builds it needed to be offline. I'm not sure if this is a quirk of Windows Server 2012 R2 or not. I'll see if I can do a bit more testing on the weekend, but I was happy to just be able to mount it once again.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
Post Reply