Hi,
I was reading this article on (How to Share Disk Between VMs on VMware ESXi – TheITBros) ITBros and decided to give it a try.
Here's what I did:
So I created a folder on the first VM and it didn't appeared on the second VM. I needed to restart the second VM so it updated the hard disk information.
It isn't supposed to refresh automatically?
Hi,
Yes, that's correct.
Having direct disk access from 2 (or more) operating systems is a very special use case and not a common scenario for sharing files between two systems.
This is typically used in high availability (HA) scenarios, but those are normally on two different physical systems, having a HA system located on a single host defies its primary goal.
Normally this is setup to guarantee your server continues running even when there's a hardware failure (removing the single point of failure).
--
Wil
Hi,
Windows 10 is not an OS that is capable of working with clustered disks.
See also:
How to Configure a Clustered Storage Space in Windows Server 2012 | Clustering and High-Availability
You'll need a server OS and that has to be set up for clustered storage for the shared disks.
Normally an operating system expects (nee demands) to be the only master of who writes to the disk.
If you have two operating systems writing to the same disk then -unless it has been designed to allow clustering- data corruption will occur.
When both systems are writing to the file allocation tables and assigning clusters "Bad Things Will Happen" (tm)
The standard way to share storage between multiple systems is to use network sharing. That way you ask the other system to write data to the disk on your behalf.
--
Wil
wila,
Thanks for replying.
I deleted the old lab and recreated it using Windows Server 2012 R2 for the two VMs.
Still the same thing: create a folder on the first VM, it doesn't appear on the second VM until a restart.
Checked that website that you have sent to me and when I try to create a new storage pool it didn't show any disks.
I was reading some sites about the shared disk and noticed a configuraion disk.locking = "FALSE". Maybe it has something to do?
Hi,
I don't know as I have no need for a Microsoft cluster.
But I do know the basics and that you'll have to setup a quorum disk and that it is a bit more as just assigning the same disk to two virtual machines.
An example configuration is discussed here:
http://wojcieh.net/microsoft-cluster-running-on-vmware-esxi-cluster-in-a-box/
Hopefully that gets you started.
--
Wil
wila,
Thanks again.
But that's my questions:
Hi,
Yes, that's correct.
Having direct disk access from 2 (or more) operating systems is a very special use case and not a common scenario for sharing files between two systems.
This is typically used in high availability (HA) scenarios, but those are normally on two different physical systems, having a HA system located on a single host defies its primary goal.
Normally this is setup to guarantee your server continues running even when there's a hardware failure (removing the single point of failure).
--
Wil
Thanks for your time and attention!
shared disk will work only if they windows server are in cluster.
If windows server is not in cluster , disk should be online in one server and offline in other server.