Continuous Replication fails with VDI_IO_ERROR(Device I/O errors) on fresh XOA install after XenServer 7.2 -> XCP-ng 8.0 upgrade
-
And same solution worked?
-
@olivierlambert I've just tried and yes, 'guessVhdSizeOnImport: true' solved the problem.
-
Okay I'm pinging @julien-f so we can include this as default (because it seems to not break for older XS)
-
We run this config now for a week and didn't have any problems. So it looks good from our site.
-
same problem, same solution. works fine
-
'guessVhdSizeOnImport: true' looks like solved the problem 9 day ago. But I'm getting same error sometimes and randomly since that day.
Daily CR job have 31 VMs. Some day successful 31/31. But some days one or two VM replication fail with tis message: VDI_IO_ERROR(Device I/O errors).
I think my problem still related with this topic. -
@rizaemet-0
Ever since I have changed to guessVhdSizeOnImport: true I have not had any problems. However I only backup 5 VMs which is not much.In the past I noticed that if I didn't change the default "Concurrency" setting to 1 in the Backup NGs advanced settings (I assume that it tries to parallelize backups by default) then my tasks would fail randomly once in a while with VDI_IO_ERROR(Device I/O errors). I figured that perhaps my servers are not fast enough; they have about 40MB/s write speed to the disks only. Setting to 1 solved it, but I can imagine this may not be desirable if there is lots of VMs to backup since it would slow down the process considerably.
-
@olivierlambert Yep, I think it's safe enough to turn on by default in the next release
-
Great, so let's do that!
-
@olivierlambert said in Continuous Replication fails with VDI_IO_ERROR(Device I/O errors) on fresh XOA install after XenServer 7.2 -> XCP-ng 8.0 upgrade:
Xen Orchestra configuration
should I add "guessVhdSizeOnImport: true" to /opt/xen-orchestra/packages/xo-server/config.toml
-
To your config file, yes. Where this config file is depends on where do you installed Xen Orchestra (I suppose from the sources, so I can't guess where do you installed, could be anyware )
edit: I think it's fixed now and integrated by default in the config
-
@olivierlambert said in Continuous Replication fails with VDI_IO_ERROR(Device I/O errors) on fresh XOA install after XenServer 7.2 -> XCP-ng 8.0 upgrade:
To your config file, yes. Where this config file is depends on where do you installed Xen Orchestra (I suppose from the sources, so I can't guess where do you installed, could be anyware )
edit: I think it's fixed now and integrated by default in the config
Great, this fix already is in the new version.
I was having this problem (Error: VDI_IO_ERROR(Device I/O errors)) and was not be able to do CR of my VMs but now CR works.
Thank youPS: BTW that was my config file