Bug 57805

Summary: restore from HP Colorado IDE tape drive gives "tape read errors"
Product: [Retired] Red Hat Linux Reporter: George Loyer <gloyer>
Component: dumpAssignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-18 08:24:14 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 George Loyer 2001-12-23 22:50:44 UTC
Description of Problem: Any restore operation on a dump file stored on an 
HP Colorado 20Gb IDE tape drive gives a "tape read error" and fails.


Version-Release number of selected component (if applicable): HP Colorado 
20GB rev 4.01, RH 7.1


How Reproducible: every time


Steps to Reproduce:
1. /sbin/dump -0u -f /dev/nht0 /home >> successfully dumps to tape
2. mt -f /dev/nht0 tell >> At block 227181 (for example)
3. mt -f /dev/nht0 rewind
4. /sbin/restore -i -f /dev/nht0 (or any other restore option) >> "tape 
read error: Input/output error" and return to prompt. no tape movement 
happens on the restore.

/var/log/messages:
Dec 23 13:56:49 localhost kernel: ide-tape: Reached idetape_chrdev_open
Dec 23 13:56:49 localhost kernel: ide-tape: ht0: I/O error, pc =  8, key 
=  5, asc = 2c, ascq =  0

Actual Results:


Expected Results:


Additional Information:

Comment 1 George Loyer 2001-12-23 23:15:08 UTC
Just tested tar in the same way. Tar to tape works fine, tar read from tape 
fails:
at the command line, error is:
[root@localhost /]# tar tvf /dev/nht0
tar: /dev/nht0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

Error in /var/log/messages is identical to restore failure. This definitely 
worked in earlier version (6.2). I hadn't used dump/restore under that version.


Comment 2 Mike A. Harris 2002-01-18 08:24:09 UTC
Please make sure your system is updated with all Red Hat Linux erratum
updates, including dump and the kernel.  Update the report please
after updating to let me know the status of your results.

Thanks

Comment 3 Mike A. Harris 2002-02-11 13:25:57 UTC
Problem reported solved in the rawhide version of dump.