[pve-devel] [PATCH] migrate : add nocheck for resume

Dietmar Maurer dietmar at proxmox.com
Wed Oct 14 11:30:35 CEST 2015

> Users have reported resume bug when HA is used.
> They seem to have a little race (bench show >0s < 1s) between the vm conf file
> move on source node and replication to,
> and resume on target node.
> I don't known why this is only with HA, maybe this occur will standard
> migration too.

I would really like to understand what happens. I wonder if it may help
if we use 'direct_io' flag for fuse. Would you mind to test?

diff --git a/data/src/pmxcfs.c b/data/src/pmxcfs.c
index 26cbc30..2c34df2 100644
--- a/data/src/pmxcfs.c
+++ b/data/src/pmxcfs.c
@@ -897,7 +897,7 @@ int main(int argc, char *argv[])
        mkdir(CFSDIR, 0755);
-       char *fa[] = { "-f", "-odefault_permissions", "-oallow_other", NULL};
+       char *fa[] = { "-f", "-odirect_io", "-odefault_permissions",
"-oallow_other", NULL};
        struct fuse_args fuse_args = FUSE_ARGS_INIT(sizeof (fa)/sizeof(gpointer)
- 1, fa);

More information about the pve-devel mailing list