Problem, in short: I'm having trouble sharing a datastore between two virtual esxi6.5 hosts on a common ISCSI Lun exposed to them. Only one of them is able to create while other one loses its datastore.
Details: I have two Esxi6.5 virtual machines (say H1 and H2) running on Ubuntu as the host OS. On Ubuntu, I created a ISCSI lun and exposed to both H1 and H2. Problem comes when I try to make a datastore on the ISCSI LUNs through each Esxi Host. With the datastore created on the ISCSI LUN through H1, if i try to share the same data store to H2 it fails saying "no device found with free space". Even if somehow it shows me the ISCSI lun and when I create the datastore over it, the other host loses its data store.
What do I need to do to H1 and H2 to make them share?