NAUbackup / VmBackup

XenServer simple backup script
228 stars 62 forks source link

vdi-export failure under XenServer 7.5 #83

Closed NAUbackup closed 5 years ago

NAUbackup commented 6 years ago

I have heard of at least one report of vdi-export failing under XenServer 7.5 with the error message:

Error code: VDI_IO_ERROR Error parameters: Device I/O errors

Has anyone else seen this? The concern is that vdi-export/vdi-import has never really been officially supported by Citrix and may be broken in XenServer 7.5 and beyond.

Am testing from the command line and it seems to be work OK for me on a XS 7.5 server.

--Tobias

cbelanger commented 6 years ago

Hi,

I still have the vdi-export problem, randomly in the execution on the export. I have no problem at all with vm-exports that are larger.

I normally use vdi-export for my VM that have a large data disk that I do not wish to backup with XenServer utilities. I only wish to backup the OS disk, not the data. Since vm-export is exporting everything, I use VDI export on an OS disk snapshot.

Christian Bélanger

NAUbackup commented 6 years ago

Seems to be a bug in XenServer itself; see https://bugs.xenserver.org/browse/XSO-868

cbelanger commented 6 years ago

Not the first time a new Xenserver version broke something that was working previously. I hope that there is going to be a fix very soon.

Thanks for the update!

NAUbackup commented 6 years ago

You bet!

Nantris commented 5 years ago

Does NAUbackup work with Xenserver 7.5 for most people, or is it broken for most people?

NAUbackup commented 5 years ago

This issue will supposedly be addressed in the next XS release.

Nantris commented 5 years ago

Thanks for your reply @NAUbackup. I did see that, but I'm being pushed to implement backups at my organization. Is NAUbackup working for anyone that we know of on 7.5? If not, I'll have an easier time selling the idea of waiting for XenServer 7.6.

NAUbackup commented 5 years ago

I brought up a test XS 7.5 pool recently but just have not had the time to test VMbackup on it yet; I'll try to get to that ASAP. Sorry, our semester started last week and it's been super busy leading up to that and now into it. -=Tobias

cbelanger commented 5 years ago

What do work, until XS 7.6 is out and probably fix the issue, is to take the vhd-tool RPM in the XS 7.4 ISO and force install it on your XS 7.5 host that is using VMBackup.

XS 7.5 RPM : vhd-tool.x86_64 0:0.20.0-3.el7.centos XS 7.4 RPM : vhd-tool.x86_64 0:0.15.1-1.el7.centos

I've done this and I do not have any issue with XS 7.5 and my VMBackup is working like a charm!

Christian

NAUbackup commented 5 years ago

Many thanks, @cbelanger , for checking out the functionality and temporary fix!

-=Tobias

Nantris commented 5 years ago

@NAUbackup and @cbelanger thanks very much to both of you!

cbelanger commented 5 years ago

So, XenServer 7.6 is out and, as supposed, a new version of vhd-tool come along : vhd-tool-0.27.0-1.el7.centos.x86_64

I've tested and so far it seems that the vdi-export problem has been fixed, it works natively!

Christian

NAUbackup commented 5 years ago

Excellent news, and thank you for testing this and reporting back your findings, @Christian.

-=Tobias

NAUbackup commented 5 years ago

Closing this issue. It has been fixed in the XenServer 7.6 release.