Hi there i hope someone can help with this as its driving me crazy
i have a server with 3 ISCSI drives located on 3 different 2012 r2 servers
if i disconnect the first 2 drives by disabling the ISCSI target on the relevant storage servers the connection drops and the drives disappear from the server.
Our last drive for some reason always stays visible even after we have disabled the ISCSI target.
the drives are listed in windows as basic disks (GPT) and all have drive letters assigned to them, the first 2 the drive letters will disappear almost instantly yet the third stays visible.
All the servers are setup pretty much identical from what i can tell so i cannot work out why this last drive will not disconnect when the ISCSI is stopped
some background, we are trying to prevent issues in the future with data being written to the disks, what we want is for the drive to drop straight away so we can stop a third party service to prevent any further data attempting to be written to the disks. currently, because the drive doesn't drop Windows still thinks its there and tries to write to it but this then causes the system to hang until it times out, this will continuously keep happening for as long as Windows can see the disk.
i have noticed that on the first two drives, caching appears to be disabled and the third drive it is enabled, i assume this is the issue but i cannot disable caching, windows will not allow me but will not explain why or how to get round the issue.
this is being done on a test server at the moment but we hope to migrate this over to our live server one we have figured out how to resolve the issue.
if we run a disk rescan in disk manager when the connection has been disabled Windows will drop the connection straight away but i cant constantly keep rescanning the disks on the off chance a failure may occur so we really need to find a way to get Windows to disconnect the drive like it does with the other drives.
I have read so many different pages but none seem to help answer the issue.
Has anyone had this issue before or have any tricks in order to get windows to drop the drive if the ISCSI connection drops.
Any help would be greatly appreciated.
Jay
**Udpate - running a rescan with diskpart does not drop the drive afterall, it simply hangs the screen for an eternity