Azure - attach a disk to multiple Linux VMs - data not updated in attached VMs [closed]

ttaching ssdv2 disk to two linux VMs in VMSS using this guide

First VM is mounted as readwrite and second VM is mounted as readonly.

When I write something to the first VM, the second VM does not see the data in the mounted folder.

When I umount the disk from the second VM and mount again, I see updated data from the first VM. However when I write again to first VM, I still do not see updated data until I remount the disk again.

I am expecting that when I write to the first VM, I can read read the data from the second VM.

I do not want to use NFS of similar solution because is does not fit to my use case. I want to share files used as memory mapped files because of fast seeking.

Parents Reply Children
No Data