VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
3 Replies Last post: Jun 19, 2009 7:16 AM by weinstein5  

Shared Disks and disk cache posted: Jun 19, 2009 5:22 AM

Click to view bluedrake's profile Novice 24 posts since
Jan 7, 2008

Hi all

I have followed the steps below to attach a drive to two virtaul machines

vmkfstools -c 500G -d eagerzeroedthick -a lsilogic /vmfs/volumes/*/*/satashare.vmdk


Once that was done, i turned off the vitrual machines and attached the drive:


  • Attached it on a sperate scsi controler
  • Added it as a independent persistent drive
  • Changed the new scsi controler to a virtual device

When i powered on the virtual machines they could all see the disk but they could not share the information on the disk, the machines only saw the information originally put there by themselves.

I have read that i have to edit the following in the config file

scsi1.present = "TRUE" scsi1.sharedBus = "none" scsi1.virtualDev = "lsilogic" scsi1:0.present = "TRUE" scsi1:0.fileName = "D:\Virtual Machines\Shared Disk\SHARED-DISK.vmdk" to the following disk.locking = "FALSE" diskLib.dataCacheMaxSize = "0" #scsi1 data storage scsi1.present = "TRUE" scsi1.virtualDev = "lsilogic" scsi1.sharedbus = "none" scsi1:0.present = "TRUE" scsi1:0.fileName = " D:\Virtual Machines\Shared Disk\SHARED-DISK.vmdk " scsi1:0.mode = "independent-persistent" scsi1:0.shared = "TRUE" scsi1:0.redo = "" Do i have to add the "diskLib.dataCacheMaxSize" line in as we are doing this for sql servers and dont want all the drives to have a 0 cache size. Thanks for the help in advance :)

Re: Shared Disks and disk cache

1. Jun 19, 2009 5:26 AM in response to: bluedrake
Click to view weinstein5's profile Guru 6,355 posts since
Nov 19, 2005
I believe you will need cliustering software to have both O/Ses control the sharing of the disk - an O/S will not do this on its own - if you want to simply share the information I would give the disk to one of the VMs and use either SMB/NFS shares to allow the other VM access -


If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

Re: Shared Disks and disk cache

3. Jun 19, 2009 7:16 AM in response to: bluedrake
Click to view weinstein5's profile Guru 6,355 posts since
Nov 19, 2005
The one most frequesntly used is MS Clustering Services -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities