Sharing a single target to EWF-protected Windows initiators

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

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

User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Thu Sep 20, 2012 1:52 pm

Well, that is a good opinion. But there there is always at least one "but" :) .
Why would it be so difficult to have two targets pointing to the same LUN, one with read only or redirected writes and the other with normal write capabilities?
It is really hard to make the block device to accept more than one connection. It is much easier to configure the file-share. It is definitely possible to configure it basing it on SW device.
I don`t know if you know but CSV is actually not presented on all machines of MS cluster. If you don`t mind to put it simply, LUN is actually presented physically on one node only (owner node), and all the rest cluster machines have redirected access to it through the owner machine. So, as I told previously - NFS is the easiest way out for this scenario.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
User avatar
anton (staff)
Site Admin
Posts: 4021
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Thu Sep 20, 2012 2:00 pm

That's a whole different story... These guys need to update "golden image" all other machines boot from. With our current ideology it's very much complicated.
Anatoly (staff) wrote:Well, that is a good opinion. But there there is always at least one "but" :) .
Why would it be so difficult to have two targets pointing to the same LUN, one with read only or redirected writes and the other with normal write capabilities?
It is really hard to make the block device to accept more than one connection. It is much easier to configure the file-share. It is definitely possible to configure it basing it on SW device.
I don`t know if you know but CSV is actually not presented on all machines of MS cluster. If you don`t mind to put it simply, LUN is actually presented physically on one node only (owner node), and all the rest cluster machines have redirected access to it through the owner machine. So, as I told previously - NFS is the easiest way out for this scenario.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
digitalis99
Posts: 44
Joined: Sat Sep 15, 2012 6:24 am

Thu Sep 20, 2012 2:50 pm

At this point, I'd accept not being able to update the golden image. I'm extremely curious, though, how (under your software) you create the golden image in the first place?

This scenario only takes me about 5 minutes to test and verify that none of the three non-normal write modes works with the current build. It still seems to me that you released code without having even tried to use it first. I noticed that read only LUN's are briefly mentioned in the docs, and neither of the two write redirect modes are mentioned at all. Nowhere is anything mentioned about how to create the image that's going to be offered read only or write redirected.

Allowing multiple initiators to access the same LUN has been part of iSCSI from the beginning. I did this with IET years and years ago. It seems to me that transparently redirecting writes for each initiator would be a little bit more complicated. Since it's a feature in your current software, though, that doesn't work at all...well, that needs to be addressed.
User avatar
Yuriy (staff)
Staff
Posts: 56
Joined: Fri Apr 13, 2012 12:14 pm

Fri Sep 21, 2012 12:10 pm

Hello, digitalis99!

We've found the reason of boot failures in ROW mode. Please wait for a few days until our QA team will test the update.

--
Best regards,
Yuriy.
digitalis99
Posts: 44
Joined: Sat Sep 15, 2012 6:24 am

Fri Sep 21, 2012 2:51 pm

Yuriy (staff) wrote:Hello, digitalis99!

We've found the reason of boot failures in ROW mode. Please wait for a few days until our QA team will test the update.
Cool, did this bug affect all three write modes (read only, redirect write, and redirect write with discard)?
User avatar
Yuriy (staff)
Staff
Posts: 56
Joined: Fri Apr 13, 2012 12:14 pm

Fri Sep 21, 2012 3:31 pm

digitalis99,

When new initiator connects to the target with IBV device that works in one of ROW modes, we automaticaly create a linked clone device.
This issue (boot failure) was caused by the fact that we do reset of disk signature when 1) we mounting a snapshot in readonly mode and 2) when we create a child device (linked or full clone) from snapshot.

Our solution is deactivating of disk signature reset for the cases when we create a linked clone for use in ROW modes.

And we still do reset of disk signature when we mount a snapshot in readonly mode. It is needed to avoid disk collisions when you mount several snapshots of same device on same machine.

So, in your iSCSI boot solution you should use one of the ROW modes. You shouldn't use readonly mode.
We will discuss the possibility to add additional tweak setting to our GUI, that can give you a chance to configure readonly mode (with or without reset of disk signature). But this will be in the future.

--
Best regards,
Yuriy.
User avatar
anton (staff)
Site Admin
Posts: 4021
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Fri Sep 21, 2012 3:31 pm

1) You create an image file, convert it into IBV in "discard" mode.

2) It's not production features. Not something we sell and charge money for. It's intended for geeks playing with iSCSI client boot. We did not test Windows 7 insisting on preserved disk signatures this time.

3) Of course you can have multi-connect. But you need to have cluster-aware file system for this. Or distributed lock manager.
digitalis99 wrote:At this point, I'd accept not being able to update the golden image. I'm extremely curious, though, how (under your software) you create the golden image in the first place?

This scenario only takes me about 5 minutes to test and verify that none of the three non-normal write modes works with the current build. It still seems to me that you released code without having even tried to use it first. I noticed that read only LUN's are briefly mentioned in the docs, and neither of the two write redirect modes are mentioned at all. Nowhere is anything mentioned about how to create the image that's going to be offered read only or write redirected.

Allowing multiple initiators to access the same LUN has been part of iSCSI from the beginning. I did this with IET years and years ago. It seems to me that transparently redirecting writes for each initiator would be a little bit more complicated. Since it's a feature in your current software, though, that doesn't work at all...well, that needs to be addressed.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
digitalis99
Posts: 44
Joined: Sat Sep 15, 2012 6:24 am

Fri Sep 21, 2012 3:44 pm

Yuriy (staff) wrote:digitalis99,

When new initiator connects to the target with IBV device that works in one of ROW modes, we automaticaly create a linked clone device.
This issue (boot failure) was caused by the fact that we do reset of disk signature when 1) we mounting a snapshot in readonly mode and 2) when we create a child device (linked or full clone) from snapshot.

Our solution is deactivating of disk signature reset for the cases when we create a linked clone for use in ROW modes.

And we still do reset of disk signature when we mount a snapshot in readonly mode. It is needed to avoid disk collisions when you mount several snapshots of same device on same machine.

So, in your iSCSI boot solution you should use one of the ROW modes. You shouldn't use readonly mode.
We will discuss the possibility to add additional tweak setting to our GUI, that can give you a chance to configure readonly mode (with or without reset of disk signature). But this will be in the future.
That's fine with me. Read only mode wasn't too interesting to me anyway. ROW with discard is what interests me most at the moment. Is the discard done in real-time, or after the session ends?
digitalis99
Posts: 44
Joined: Sat Sep 15, 2012 6:24 am

Fri Sep 21, 2012 3:56 pm

anton (staff) wrote:1) You create an image file, convert it into IBV in "discard" mode.

2) It's not production features. Not something we sell and charge money for. It's intended for geeks playing with iSCSI client boot. We did not test Windows 7 insisting on preserved disk signatures this time.

3) Of course you can have multi-connect. But you need to have cluster-aware file system for this. Or distributed lock manager.
1) Great, I was creating the image in IBV mode to start, so I'll adapt my procedure.

2) Any software company that releases features in a paid version of their software but then explains they are not for production when people try to use them...I can't even begin to debate why that is a bad idea. I couldn't, and still can't, think of any use of the ROW modes other than booting multiple machines from the same image, so it seemed silly to me that this hadn't been tried. Since it hadn't been tried, in what scenario(s) did you test the ROW modes? I'm curious.

3) ...or you support redirecting writes on a per-session basis like you are trying to do. It's your feature, play it up! :D
User avatar
anton (staff)
Site Admin
Posts: 4021
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Fri Sep 21, 2012 6:26 pm

It's called experimental features. A lot of companies do this (including VMware) and I don't see any issues with this approach.

Yes, but it's very different from having concurrent read-write access.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
digitalis99
Posts: 44
Joined: Sat Sep 15, 2012 6:24 am

Fri Sep 21, 2012 6:39 pm

anton (staff) wrote:It's called experimental features. A lot of companies do this (including VMware) and I don't see any issues with this approach...
The difference being they flag the experimental features as such in their GUI, release notes, or documentation (or all of the above). They don't leave people to install the software, try a particular feature, have it fail (hopefully not resulting in data loss), and wait for a support ticket/forum post to tell that one user it's experimental. Telling me that something is experimental after the fact is a cop-out response at best. :roll:

If I had paid money for the software in order to get this feature, I'd be pretty upset, and rightfully so. Fortunately, I'm only testing with the free version, so I don't have the right to be bothered. Surely wording features in the GUI as experimental wouldn't take much work. Just a little constructive criticism. :wink:
User avatar
anton (staff)
Site Admin
Posts: 4021
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Fri Sep 21, 2012 6:42 pm

That's right. That's why with a minor update we'll have about Windows 7 we'll put our usual mark say it's experimental. And there's no reference in the docs yet...
digitalis99 wrote:
anton (staff) wrote:It's called experimental features. A lot of companies do this (including VMware) and I don't see any issues with this approach...
The difference being they flag the experimental features as such in their GUI, release notes, or documentation (or all of the above). They don't leave people to install the software, try a particular feature, have it fail (hopefully not resulting in data loss), and wait for a support ticket/forum post to tell that one user it's experimental. Telling me that something is experimental after the fact is a cop-out response at best. :roll:

If I had paid money for the software in order to get this feature, I'd be pretty upset, and rightfully so. Fortunately, I'm only testing with the free version, so I don't have the right to be bothered. Surely wording features in the GUI as experimental wouldn't take much work. Just a little constructive criticism. :wink:
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
User avatar
Yuriy (staff)
Staff
Posts: 56
Joined: Fri Apr 13, 2012 12:14 pm

Mon Sep 24, 2012 8:35 am

digitalis99 wrote:
anton (staff) wrote:It's called experimental features. A lot of companies do this (including VMware) and I don't see any issues with this approach...
The difference being they flag the experimental features as such in their GUI, release notes, or documentation (or all of the above).
ROW modes are undocumented for now. This fact in itself suggests that they should be treated with caution as long as they will not be documented.
In any case, we thank you for showing interest in them, and for the fact that you pointed us to a problem with Windows 7 iSCSI boot.
digitalis99
Posts: 44
Joined: Sat Sep 15, 2012 6:24 am

Wed Sep 26, 2012 7:17 pm

Yuriy (staff) wrote:
digitalis99 wrote:
anton (staff) wrote:ROW modes are undocumented for now. This fact in itself suggests that they should be treated with caution as long as they will not be documented.
Omissions suggest nothing at all.

Any progress with this bug now that you've known the cause and the fix?
User avatar
anton (staff)
Site Admin
Posts: 4021
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Wed Sep 26, 2012 7:32 pm

It's not a bug it's a workaround for standard Windows 7 behaviour :)

Yes, works fine now. QA completing some tests before we'll leak the version to public.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
Post Reply