IBM 3590 Tape Drive, Ubuntu Sever, MT read/write error
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
--
Pantek, Inc. - http://www.pantek.com/ - info@pantek.com
1-877-LINUX-FIX - Expert Open Source Technical Support
2008 Inductee to the prestigious Weatherhead 100
You need to actually specify some files to try and dump to the tape.
Code:
sudo tar -xvf /dev/st0 /some/path/to/file
Do you get the same output if you try using cpio instead of mt? Also make sure the tape itself isn't write protected, you know, the little switch to protect the tape from getting overwritten.
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Pattern matching characters used in file names. Please,
tar: use --wildcards to enable pattern matching, or --no-wildcards to
tar: suppress this warning.
tar: *: Not found in archive
tar: Error exit delayed from previous errors
Now I'm trying the tape drive with a fresh install of Red Hat Enterprise Edition 4.
More info, running "IBMtapeutil -f /dev/st0 status" returns the following;
Code:
Generic ANSI SCSI-2 tape drive
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0
Soft error count since last status=0
General status bits on (1010000):
ONLINE IM_REP_EN
Could it be that the tape IS actually blank, (as suggested above)? I'm trying several tapes that are supposed to have data, so there might be a tiny tiny chance that they are all be blank.
Running "tar -tvf /dev/st0" returns:
Code:
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
Much as before.
Quote:
Was the data written using the same drive?
No, the tapes come from an external party, we don't know what model tape drive they were using.
Looks like you need to run some diagnostics. There is a spec and software called TapeAlert. There is a $90 software product from santools that runs full diagnostics, monitors tape/autochangers, and gives you error results and such. The code is ported to LINUX on 32 and 64-bit chips, links to some tape-related diag screen dumps are http://www.santools.com/smart/unix/m...erttesting.htm or just http://www.santools.com/smart/unix/manual for the main page.
I realize this is a fairly old post and you've probably rectified the problem by now but maybe you could call up the manufacturer. Usually the systems come with lifetime tech support and I'm sure they could help you out with trying to get this data read. I personally am annoyed by most call in tech services but if you can get past the annoying part they can usually figure it out for you. For more information on the IBM 3590 H1A model you can visit our site at http://www.cpuinc.com/3590-tape-driv...1-tape-drives/. You can also email us with tech support questions at techsupport@cpuinc.com. I hope this helps.
Last edited by jkieth; 02-14-2009 at 09:59 AM.
Reason: additional references for support
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.