Bug 186426
Summary: | Tar multivolume backup crash on x86_64 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Michele De Candia Jr <mdecandia> | ||||
Component: | tar | Assignee: | Peter Vrabec <pvrabec> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Ben Levenson <benl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-30 14:12:23 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: | |||||||
Attachments: |
|
Description
Michele De Candia Jr
2006-03-23 14:57:17 UTC
I have problem to reproduce it. $ tar -c -M --tape-length=10240 --file=disk1.tar foo Prepare volume #2 for `disk1.tar' and hit return: n disk2.tar Prepare volume #2 for `disk2.tar' and hit return: Prepare volume #3 for `disk2.tar' and hit return: n disk3.tar Prepare volume #3 for `disk3.tar' and hit return: $ tar -x -M --file=disk1.tar Prepare volume #2 for `disk1.tar' and hit return: n disk2.tar Prepare volume #2 for `disk2.tar' and hit return: Prepare volume #3 for `disk2.tar' and hit return: n disk3.tar Prepare volume #3 for `disk3.tar' and hit return: $ uname -m x86_64 $ rpm -q tar tar-1.14-9.RHEL4 I think the problem is the path length of file on two tapes. Searching on gnu tar i found that path name on multivolume tar may not be longer than 100 chars. (http://cvs.savannah.gnu.org/viewcvs/tar/tar/NEWS?rev=1.95&content-type=text/vnd.viewcvs-markup) Infact, only if I try to make multivolume tar on files longer than 100 chars I have problems. Created attachment 127052 [details] patch extracted from upstream CVS Could you reproduce the problem with this tar: http://people.redhat.com/pvrabec/rpms/tar-1.14-10.RHEL4.src.rpm I think this patch doesn't resolve the bug. It stops backup when last file name is over than 124 characters. Thanks anyway. I'm confused. What was your problem? Could u reproduce the bug with tar-1.14.10 from comment #3? Yes, I've reproduced the bug with tar-1.14.10. My problem was that I need backup on more tapes and I don't want that it stops at the end of a tape. I will use tar-1.14.9 because it continues backup (I'll backup again files between two tapes). |