Hi, I'm experiencing a severe and always reproducible filesystem corruption with virtio drivers used inside a guest. My setup is this: 3 nodes 1 volume in replica 3 arbiter 1 mode "virt" group applied to volume Gluster 3.12.4 from Centos repositories KVM 2.9.0 compiled from RHEV sources Guest machine using virtio drivers (Ubuntu 16.04.3 LTS server) To reproduce the problem it's enough to: 1) Create a virtual machine with a virtual disk (better if QCOW2 format is used, but the problem is there also in "raw" disk format) with virtio access 2) Try to install the Ubuntu 16.04.3 setup 3) After a while the setup fails with strange error; by inspecting the QCOW2 volume I found many files are full of null bytes 4) It seems that the problem appears after a bounce of write operations. I've tested many times and the result is the same. If, instead, I select a SCSI disk, everything works flawlessly. Thank you for your help,
I should correct myself. I can see the problem with SCSI driver and QCOW2 disk too.
Problem seems related to libgfapi because if I use the volume by NFS (instead of direct access via libgfapi) everything works. Tested 2 times.
I've tested it with a volume on a FUSE mounted filesystem (eg: the host mount via FUSE the gluster volume and KVM use the QCOW2 disk on the mounted volume) and it works too.
Release 3.12 has been EOLd and this bug was still found to be in the NEW state, hence moving the version to mainline, to triage the same and take appropriate actions.
This bug is moved to https://github.com/gluster/glusterfs/issues/944, and will be tracked there from now on. Visit GitHub issues URL for further details