Bug 666968
Summary: | amrestore should restore one file when outputting to a pipe | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ed Friedman <edfriedmangvs> |
Component: | amanda | Assignee: | Jan Görig <jgorig> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | jgorig |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | amanda-3.1.3-2.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-02-09 20:21:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ed Friedman
2011-01-03 20:44:56 UTC
Thank you for your bug report. The amrestore is completely rewritten in amanda 3.1, so finding regression isn't so simple. Could you attach complete error message, please? I've replaced amanda 3.1 with amanda 3.2, and the problem still persists. After much debugging, what I have discovered is that for both of these versions, if amrestore is called with the -p flag, then amrestore aborts after the first tape record. If the result is piped to the restore program, then the error reads: "restore: Tape read error on first record". If the -p flag is invoked without piping to any other program, then there is no error message and amrestore simply stops after the first record. However, if the -p flag is not invoked, then the dumpfile is transferred from tape to the directory in which the amrestore command was restored, although amrestore continues reading all of the files on the tape instead of stopping after finding the correct file, which was the behavior in the past. This file on the disk can then be access with the restore command to get access to its contents. Needless to stay, prior to amanda 3.1, the -p flag worked flawlessly. Thank you for your informations. It helps me much. I was able to write patch that hopefully fixes this issue. Fixed version will be early available in updates-testing for Fedora 14. Please test this update. If it works I will commit patch to Rawhide and upstream. amanda-3.1.3-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/amanda-3.1.3-2.fc14 I've tested this update and it fixes the amrestore -p problem - at least as far as I can tell. amanda-3.1.3-2.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update amanda'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/amanda-3.1.3-2.fc14 amanda-3.1.3-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |