A single vmfs vmdk cannot be locked by both powered on VMs at the same time. So you have to change your configurations a bit here. First delete the vmfs volume which u have created on the LUN , make sure you don't have any other vmdks on it, do storage vmotion to other datastores.
- Delete the vmdk which u created (shared).
- Then delete the vmfs volume on the LUN device. Do not touch the zoning part.
- Make sure this shared LUN does not have a file system on it.
- Now go to the first VM, and add a hard disk. Here use add disk as RDM option. Point to the shared LUN device which you have for this purpose.
- Now shut down the VM1 where you added the vmdk
- Repeat the procedure for VM2.
- Now power off the VM2, am power on VM1.
- Create ntfs file system on the disk from within the OS.
- Now power on VM2. Rescan the disk in disk manager inside the OS.
Let me know if this works.
Thanks,
Thor.