VM exports sometimes invalid / truncated
-
Hi all,
I have noticed that when I export a VM from XO as a XVA file (no compression), the file is sometimes not usable. It looks approximately the right size.
For example, exporting the same stopped VM five times in a row gives me XVA files of five different sizes:
9975006379 Oct 3 13:14 '20251003T121256Z - XXX.xva' 13504108339 Oct 3 13:27 '20251003T122555Z - XXX.xva' 11840604190 Oct 3 13:32 '20251003T123120Z - XXX.xva' 9924612837 Oct 3 13:34 '20251003T123339Z - XXX.xva' 10033681176 Oct 3 13:35 '20251003T123454Z - XXX.xva'And as XVAs are basically TAR files, I can verify that some of these appear to be truncated:
$ tar tf '20251003T122555Z - XXX.xva' > /dev/null tar: Unexpected EOF in archive tar: Error is not recoverable: exiting nowOf the above five copies of the same VM, only the first is valid according to
tar(strangely, some of the invalid files are longer than the valid one, even thoughtarthinks they're incomplete files!).My workflow for downloading these files from XO is
- Ensure the VM is shut down
- Click the 'Export' button on the VM page in XO
- Leave the defaults (xva format, no compression) and click OK
- Copy the download URL
- Paste the URL after
wget -T0(I add-T0because I've seen these downloads time out XO/xapi doesn't respond for a while whilst constructing the file)
Has anyone else experienced this? Any ideas?
Thanks.
-
Ping @florent
-
@olivierlambert the tar stream is passed as is
is there any warning in the relevant backup job log ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login