Bug 78310
Summary: | tar doesn't properly terminate a tape archive written to an IDE tape unit. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Charles Sullivan <cwsulliv> |
Component: | kernel | Assignee: | Pete Zaitcev <zaitcev> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-30 15:40:13 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
Charles Sullivan
2002-11-21 00:25:27 UTC
This smells like a ide tape kernel driver problem, as tar has not a clue about ide vs. any other type of tape device. I'm not so sure about that. First I must tell you that my initial report was mistaken in saying that the EOF error was displayed when either 'tar -Wcvf ...' or 'tar -cvf ...' followed by 'tar -tf ...' was run. At least with the most recent kernel update, only 'tar -Wcvf ...' results in that message. (My report may be true with the clean install of RH 7.2, but I swapped out hard drives for that test so can't easily recheck. If you think it's important, I'll do it again.) But now look. I ran the following tests: cp /bin/* . tar -cvf /dev/ht0 * dd if=/dev/ht0 of=tartest1 bs=10240 mv tartest1 /tmp tar -Wcvf /dev/ht0 * dd if=/dev/ht0 of=/tmp/tartest2 bs=10240 The file /tmp/tartest2 is shorter than /tmp/tartest1 !! It looks to me like tar is truncating the archive when the -W option is used. I tried repeating the same test but writing the archive to a file on the HDD instead of the tape - this time there was no difference in size. Thanks for the bug report. However, Red Hat no longer maintains this version of the product. Please upgrade to the latest version and open a new bug if the problem persists. The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, and if you believe this bug is interesting to them, please report the problem in the bug tracker at: http://bugzilla.fedora.us/ |