Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190357 - app-backup/flexbackup fails on very large files with afio back end
Summary: app-backup/flexbackup fails on very large files with afio back end
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 01:50 UTC by John R. Graham
Modified: 2007-09-01 19:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch applies afio large file fix. (flexbackup-1.2.1-afio-large-files.patch,401 bytes, patch)
2007-08-27 01:54 UTC, John R. Graham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John R. Graham gentoo-dev 2007-08-27 01:50:09 UTC
The problem occurs when using flexbackup with the afio back end.  afio tries very hard to produce archives that are cpio compatible.  However, if a file being backed up exceeds the size that cpio can handle (2GiB), afio warns of the potential issue, uses an extended (but non-cpio-compatible) file header that can handle the larger size, completes the backup successfully, and returns a non-zero result code.  flexbackup currently treats this result code as a hard error and marks the backup as failed.

There's an afio command line option to suppress this warning (and the resultant non-zero result code).  Since flexbackup can also use cpio as a back end, it seems reasonable to assume that those who want cpio-compatible archives should use cpio as the back end.

Patch coming.

- John
Comment 1 John R. Graham gentoo-dev 2007-08-27 01:54:48 UTC
Created attachment 129271 [details, diff]
Patch applies afio large file fix.

This patch adds a command line option to the invocation of afio that allows it to silently produce afio extended format archives if the incoming file size warrants.

- John
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-01 19:49:40 UTC
Took your fix from Sunrise...thanks a lot.