Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Tape I/O error

Need help with peripherals or devices?
Post Reply
Message
Author
Xavi

Tape I/O error

#1 Post by Xavi »

I/O error when backup to tape is working. This happen randomly when I do a "tar -cf /dev/tape <archives>" (/dev/tape linked to /dev/st0)
Messages in syslog:
hdd: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdd: drive not ready for command
hdd: status timeout: status=0xd8 { Busy }
hdd: drive not ready for command

Modules loaded related to tape:
ide-core
ide-detect
ide-scsi
scsi-mod
sg

mt status:
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x48 (no translation).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN

Linux:
Debian sarge 3.1 (kernel 2.4.27-2-686-smp)

HW:
Asus P4P800-E
Intel P4 with HT
Tape: Seagate STT3401A rev 310A

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#2 Post by Jeroen »

Some scsi tapes require a blocksize to be specified. So like tar cbf 1 /dev/tape <archives> for 512-byte blocks (which seems to be suggested by your mt info).

Did you try that, and/or looked at the tape driver's manual?

Xavi

#3 Post by Xavi »

In fact, there isn't too documention about seagate tapes in linux. I installed flexbackup, which try to set the blocksize. I don't think the problem is the block size, since the tape already is backing up data, but there is an I/O error from time to time and log files are empty.

Post Reply