1827325 Members
5822 Online
109962 Solutions
New Discussion

Tape Error

 

Tape Error

Hi ,
i using hp autoloader 718 to performance backup on linux box and encounter below error ,could someone advise me.Thanks.
root@prod /root]# dump -f /dev/st0 /boot
> DUMP: Date of this level 0 dump: Fri May 31 08:44:14 2002
> DUMP: Dumping /dev/sda2 (/boot) to /dev/st0
> DUMP: Added inode 7 to exclude list (resize inode)
> DUMP: Label: /boot
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 15216 tape blocks.
> DUMP: Volume 1 started with block 1 at: Fri May 31 08:44:16 2002
> DUMP: dumping (Pass III) [directories]
> DUMP: dumping (Pass IV) [regular files]
> DUMP: write error 30 blocks into volume 1: Input/output error
> DUMP: Do you want to rewrite this volume?: ("yes" or "no") yes
> DUMP: Closing this volume. Prepare to restart with new media;
> DUMP: this dump volume will be rewritten.
> DUMP: Closing /dev/st0
> DUMP: Volume 1 completed at: Fri May 31 08:44:46 2002
> DUMP: Volume 1 40 tape blocks (0.04MB)
> DUMP: Volume 1 took 0:00:30
> DUMP: Volume 1 transfer rate: 0 kB/s
> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
> DUMP: Volume 1 started with block 1 at: Fri May 31 08:44:16 2002
> DUMP: dumping (Pass III) [directories]
> DUMP: dumping (Pass IV) [regular files]
> DUMP: write error 30 blocks into volume 1: Input/output error
> DUMP: Do you want to rewrite this volume?: ("yes" or "no") no
> DUMP: Do you want to start the next tape?: ("yes" or "no") no
> DUMP: The ENTIRE dump is aborted.
>

***** /var/log/messages

> st: Unloaded.
> Attached scsi generic sg1 at scsi0, channel 0, id 6, lun 0, type 8
> Attached scsi generic sg2 at scsi3, channel 0, id 6, lun 0, type 3
> Attached scsi generic sg3 at scsi3, channel 1, id 15, lun 0, type 3
> st: bufsize 32768, wrt 30720, max init. buffers 4, s/g segs 16.
> Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
> (scsi0:0:5:-1) Unexpected busfree, LASTPHASE = 0x0, SEQADDR = 0x55
> (scsi0:0:5:-1) Unexpected busfree, LASTPHASE = 0x0, SEQADDR = 0x56
> st0: Block limits 25677 - 0 bytes.
> (scsi0:0:5:-1) Unexpected busfree, LASTPHASE = 0x0, SEQADDR = 0x55
> (scsi0:0:5:-1) Unexpected busfree, LASTPHASE = 0x0, SEQADDR = 0x54
> (scsi0:0:5:0) Data overrun detected in Data-Out phase, tag 1;
> Have seen Data Phase. Length=10240, NumSGs=1.
> Raw SCSI Command: 0x0a 00 00 28 00 00
> st0: Error 27070000 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
> (scsi0:0:5:-1) Unexpected busfree, LASTPHASE = 0x0, SEQADDR = 0x56
> (scsi0:0:5:-1) Unexpected busfree, LASTPHASE = 0x0, SEQADDR = 0x55
> (scsi0:0:5:-1) Unexpected busfree, LASTPHASE = 0x0, SEQADDR = 0x56
> (scsi0:0:5:-1) Unexpected busfree, LASTPHASE = 0x0, SEQADDR = 0x56
> (scsi0:0:5:0) Data overrun detected in Data-Out phase, tag 1;
> Have seen Data Phase. Length=10240, NumSGs=1.
> Raw SCSI Command: 0x0a 00 00 28 00 00
> st0: Error 27070000 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
>

4 REPLIES 4
Mark Fenton
Esteemed Contributor

Re: Tape Error

I did a quick look up on the error code you were getting, and it would appear there are several possibilities, ranging from need for a new scsi adapter driver to checking termination and cabling.

Is this a new installation that has never worked, or a working tape drive that has now quit? If it worked under previous kernel version, then driver is very likely the culprit. If new, never-before working on this box tape drive, check the cabling/termination first before running out in search of an updated device driver.

Here's one post of a similar problem (sorry, no solution offered here)
http://www.uwsg.iu.edu/hypermail/linux/kernel/0108.2/1020.html

but his description seems to indicate poor interaction between his kernel version and the scsi driver.

Hope this points you in the right direction!

Mark
Kodjo Agbenu
Honored Contributor

Re: Tape Error

Hello,

To help you diagnose this problem, please post the result of the following commands :

-> cat /etc/modules.conf
-> cat /proc/scsi/scsi
-> lsmod

Good luck

Kodjo
Learn and explain...

Re: Tape Error

as request ,below are the copntent .


$ cat /etc/modules.conf
alias eth0 3c59x
alias eth1 eepro100
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter1 megaraid
alias parport_lowlevel parport_pc

$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: QUANTUM Model: DLT7000 Rev: 2560
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: HP Model: C6280-7000 Rev: 2.07
Type: Medium Changer ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 06 Lun: 00
Vendor: DELL Model: 1x6 U2W SCSI BP Rev: 1.29
Type: Processor ANSI SCSI revision: 02
Host: scsi3 Channel: 01 Id: 15 Lun: 00
Vendor: Dell Model: 12 BAY U2W CU Rev: 0209
Type: Processor ANSI SCSI revision: 03
Host: scsi3 Channel: 02 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD0 RAID1 34678R Rev: 1.57
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 02 Id: 00 Lun: 01
Vendor: MegaRAID Model: LD1 RAID1 34678R Rev: 1.57
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 02 Id: 00 Lun: 02
Vendor: MegaRAID Model: LD2 RAID1 34678R Rev: 1.57
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 02 Id: 00 Lun: 03
Vendor: MegaRAID Model: LD3 RAID1 34678R Rev: 1.57
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 02 Id: 00 Lun: 04
Vendor: MegaRAID Model: LD4 RAID1 34678R Rev: 1.57
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 02 Id: 00 Lun: 05
Vendor: MegaRAID Model: LD5 RAID1 34678R Rev: 1.57
Type: Direct-Access ANSI SCSI revision: 02

$ /sbin/lsmod
Module Size Used by
st 26228 0
sg 27040 0
eepro100 16144 0 (autoclean) (unused)
3c59x 25096 1 (autoclean)
ipchains 31976 0 (unused)
megaraid 21392 11
aic7xxx 113840 0
sd_mod 11040 11
scsi_mod 88864 5 [st sg megaraid aic7xxx sd_mod]

Wayne Yu_1
Frequent Advisor

Re: Tape Error

The tape library you are using is HP made, but Sun labled DLT library, is that correct?

That DLT library works with FW SCSI. Your SCSI controller card seems not FW SCSI controller card. If you would like to have it work on your controller card, you will need to get a hi8 terminated cable or high-8 terminator. I don't think HP make that. It is easier to just get a FW-SCSI controller card.