Pages

Wednesday, September 7, 2016

Why do my Volumes fall offline?


Had this silly thing happening over and over again for one of my VMs.  It started something like this…

Each and every time I rebooted my new Win 2012R2 host any disk other than the OS volume would always show offline.   Patched the host, like a good Systems Engineer should, still no change.

Confirmed all VMWare machine type was current.  It was - and yes this means I am using VMWare and my preferred Hyper-V - but that is another story all together.

Then the light bulb went off!  This used to occur a good bit in 2008 and 2008R2 when I was working heavily on customer systems.  It could not be the same DISKPART setting could it?  Yes, yes it was.

DISKPART> SAN

SAN Policy : Offline Shared

DISKPART>SAN Policy=OnlineAll

So this solved my issue for this single host which is not clustered.  Yea me!


However I must caution there is a reason why this is set this way.  This is set this way by design from Microsoft to protect shared disks from being accessed by multiple servers.  Basically this is required for clustering as the Cluster Filter driver and services will "own" this disk and the volume on it.  If you set this on a node of a cluster you will corrupt data.

No comments:

Post a Comment