[linux-lvm] LVM2 and its Snapshot cause Windows bluescreen when connected simultaneously using iSCSI

Marek Podmaka marki at marki-online.net
Mon Mar 23 13:42:14 UTC 2009


Hello,

Monday, March 23, 2009, 5:19:33, thomas62186218 at aol.com wrote:

> I am trying to determine why this happens. I noticed that if I log in
> to the original LVM2 volume using iSCSI by itself, and logout, and then
> login to the Snapshot using iSCSI by itself, there is no problem. I 
> also notice that the LVM2 volume and its Snapshot appear identically to
> Windows (maybe not surprising)....same drive letter and volume name, 
> etc.

> Is the blue screen occurring because two devices, both with the same 
> name and same drive letter, appeared on Windows at the same time, and 
> Windows crashes as a result?

Yes, Windows is probably having troubles seeing the SAME disk twice.
Remember that when you take a snapshost of LV (which Windows sees as a
LUN/disk presented by iSCSI) it is a copy of original, so it has the
same UUID and all other identifiers - and Windows doesn't like that.

You either have to present the snapshot to different Windows machine
or use your linux/windows to change UUID (use google what exactly
needs to be changed), so that Windows will see it as a different disk.
And when it is a different disk for Windows, it may still contain the
same filesystem (with filesystem unique id).

FYI the same applies to Linux - with the exception that Linux doesn't
do anything without your approval and that it doesn't panic when it
sees duplicate PV/filesystem.


-- 
  bYE, Marki





More information about the linux-lvm mailing list