Hallo,
ich möchte unter Suse 8.2 ein Backup auf ein DDS-3-Band (HP C1537) machen.
Nach dem Schreiben von etwa 3.5 GB bricht das Backup ab mit der
Fehlermeldung:
/bin/tar: /dev/st0: Wrote only 0 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
Das war's.
Der Aufruf erfolgte über:
/bin/tar cpzvf /dev/st0 -T /root/tar-backup/set.incl
Ein
strace -f ergab:
(Sorry wegen Zeilenumbruch...)
10774 write(1, "\362HI\20\36;6\364\17c\20[k\263\30\353 \316\10&TD\26\301"..., 16384
10773 <... read resumed> "\362HI\20\36;6\364\17c\20[k\263\30\353 \316\10&TD\26\301"..., 4096) = 4096
10773 write(4, "\263\302\fb\231A>`\0\247\205\334\302\347\231\365\353w\37"..., 10240) = -1 EIO (Input/output error)
10773 write(2, "/bin/tar: ", 10) = 10
10773 write(2, "/dev/st0: Wrote only 0 of 10240 "..., 37) = 37
10773 write(2, "\n", 1) = 1
10773 write(2, "/bin/tar: ", 10) = 10
10773 write(2, "Error is not recoverable: exitin"..., 37) = 37
10773 write(2, "\n", 1) = 1
10773 exit_group(2) = ?
10774 <... write resumed> ) = 8192
10774 write(1, "\211\3028/-\360\201\207\321\36@\243\\L\f6\322\316\353\260"..., 8192) = -1 EPIPE (Broken pipe)
10774 --- SIGPIPE (Broken pipe) @ 0 (0) ---
10772 <... write resumed> ) = 2048
10772 write(5, "\313\316\265\313\321\264\313\316\264\307\314\266\313\317"..., 8192) = -1 EPIPE (Broken pipe)
10772 --- SIGPIPE (Broken pipe) @ 0 (0) ---
10770 <... wait4 resumed> [WIFSIGNALED(s) && WTERMSIG(s) == SIGPIPE], 0, NULL) = 10772
10770 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
10770 --- SIGCHLD (Child exited) @ 0 (0) ---
Woran kann das liegen ?
Ich hatte mal was gehört, dass die Terminierung von SCSI nicht richtig
sei. Aber dann dürfte doch gar nichts auf Band geschrieben werden,
oder ?
Folgendes habe ich bereits versucht:
- Einstellen der Blocksize auf unterschiedliche Werte
- Aktivieren/Deaktivieren der Komprimierung des Laufwerks
- tar mit und ohne -z
- Band löschen, Band neu spannen
- Das Ganze mit /dev/nst0
Danke für Tipps,
Philip.
Zur Info:
/var/log/messages
=================
Jan 21 16:41:14 baugeschichte kernel: st0: Error with sense data: Deferred st09:00: sns = 71 3
Jan 21 16:41:14 baugeschichte kernel: ASC=3b ASCQ= 0
Jan 21 16:41:14 baugeschichte kernel: Raw sense data:0x71 0x00 0x03 0x00 0x00 0x00 0x00 0x0e 0x00 0x00 0x00 0x00 0x3b 0x00 0x02 0x00 0x00 0xee 0x00 0x00 0x00 0x08
Jan 21 16:42:21 baugeschichte kernel: st0: Error with sense data: Info fld=0x0, Current st09:00: sns = f0 3
Jan 21 16:42:21 baugeschichte kernel: ASC= 9 ASCQ= 0
Jan 21 16:42:21 baugeschichte kernel: Raw sense data:0xf0 0x00 0x03 0x00 0x00 0x00 0x00 0x0e 0x00 0x00 0x00 0x00 0x09 0x00 0x02 0x00 0x00 0xcd 0x00 0x00 0x00 0x08
Jan 21 16:42:21 baugeschichte kernel: st0: Error on write filemark.
cat /proc/scsi/aic7xxx/0
========================
Adaptec AIC7xxx driver version: 6.2.29
Adaptec 2902/04/10/15/20/30C SCSI adapter
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
No Serial EEPROM
Channel A Target 0 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 127)
Channel A Target 1 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 127)
Channel A Target 2 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 127)
Channel A Target 3 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 127)
Channel A Target 4 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 127)
Channel A Target 5 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 127)
Channel A Target 6 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 127)
Goal: 10.000MB/s transfers (10.000MHz, offset 15)
Curr: 10.000MB/s transfers (10.000MHz, offset 15)
Channel A Target 6 Lun 0 Settings
Commands Queued 313835
Commands Active 0
Command Openings 1
Max Tagged Openings 0
Device Queue Frozen Count 0
Channel A Target 7 Negotiation Settings
User: 80.000MB/s transfers (80.000MHz, offset 127)
mt_st status
============
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
-------------------------------
Link it! development
Philip Link
Schillerpromenade 10
12049 Berlin
Telefon 030 / 621 00 50
Telefax 030 / 62 72 31 83
http://www.link-development.de
info@link-development.de