I'm messing around with KVM and different storage options for sharing between virtual machines. I have an LVM volume group defined as a storage pool for
libvirt. I've defined a volume and attached it to two test VMs as a virtio disk. Here's virsh dumpxml
<disk type='block' device='disk'> <driver name='qemu' type='raw'/> <source dev='/dev/kvm_storage/vm_shared'/> <target dev='vda' bus='virtio'/> <shareable/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk>
I can read/write files, but they do not stay in sync between the two virtuals unless I unmount then remount. Is this even supported?