Amanda-Users

[[writing file: Input/output error]]. [out of tape]

2002-08-12 17:12:52
Subject: [[writing file: Input/output error]]. [out of tape]
From: adi <junaidi AT securecirt DOT com>
To: amanda-users <amanda-users AT amanda DOT org>
Date: Tue, 13 Aug 2002 04:44:12 +0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello
I have been using amanda for a few months without any problems but suddenly i 
encountered a few. I do a level 0 dump everyday for all the machines on the 
local network. There was no problem of "out of tape" before. I was hit with 
the "out of tape" problem yesterday. So today i tested amanda again but this 
time just dumping the localhost which is about 8gb of data. But it still 
fails with the same error. This is my tapetype in amanda.conf
- --------------------------------------------------------
define tapetype daily {
        comment "just produced by tapetype program"
        length 34798 mbytes
        filemark 152 kbytes
        speed 2578 kbytes
- --------------------------------------------------------
I have also tried cleaning the drive a few times because when the dump fails, 
the orange light will start blinking. I also found something in the 
/var/log/messages, here it is.
- --------------------------------------------------------
Aug 13 03:06:37 marvin kernel: st0: Error with sense data: Info fld=0x8000, 
Deferred st09:00: sns = f1  3
Aug 13 03:06:37 marvin kernel: ASC=80 ASCQ= 1
Aug 13 03:06:37 marvin kernel: Raw sense data:0xf1 0x00 0x03 0x00 0x00 0x80 
0x00 0x16 0x00 0x00 0x1c 0x0d 0x80 0x01 0x00 0x00 
0x00 0x00 0x83 0x01 0xb1 0x00 0x00 0x16 0xd3 0x00 0x94 0x66 0x17 0x00 
Aug 13 03:06:37 marvin kernel: st0: Error with sense data: Info fld=0x1, 
Current st09:00: sns = f0  3
Aug 13 03:06:37 marvin kernel: ASC= c ASCQ= 0
Aug 13 03:06:37 marvin kernel: Raw sense data:0xf0 0x00 0x03 0x00 0x00 0x00 
0x01 0x16 0x00 0x00 0x1c 0x0d 0x0c 0x00 0x00 0x00 
0x00 0x00 0x83 0x01 0xb1 0x00 0x00 0x16 0xd3 0x00 0x94 0x66 0x17 0x00 
Aug 13 03:06:37 marvin kernel: st0: Error on write filemark.
- --------------------------------------------------------

Below is the mail that i get from amanda.
- --------------------------------------------------------
These dumps were to tape week2.
*** A TAPE ERROR OCCURRED: [[writing file: Input/output error]].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next tape Amanda expects to use is: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  localhost  /dev/hda2 lev 0 STRANGE
  localhost  /dev/hda2 lev 0 FAILED [out of tape]


STATISTICS:
                          Total       Full      Daily
                        --------   --------   --------
Estimate Time (hrs:min)    0:03
Run Time (hrs:min)         0:42
Dump Time (hrs:min)        0:28       0:28       0:00
Output Size (meg)        2593.2     2593.2        0.0
Original Size (meg)      5386.4     5386.4        0.0
Avg Compressed Size (%)    48.1       48.1        -- 
Filesystems Dumped            1          1          0
Avg Dump Rate (k/s)      1565.9     1565.9        -- 

Tape Time (hrs:min)        0:00       0:00       0:00
Tape Size (meg)             0.0        0.0        0.0
Tape Used (%)               0.0        0.0        0.0
Filesystems Taped             0          0          0
Avg Tp Write Rate (k/s)     --         --         -- 


FAILED AND STRANGE DUMP DETAILS:

/-- localhost  /dev/hda2 lev 0 STRANGE
sendbackup: start [localhost:/dev/hda2 level 0]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/bin/tar -f... -
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
? gtar: ./var/spool/cups/c02102: Warning: Cannot stat: No such file or 
directory
| Total bytes written: 5648015360 (5.3GB, 3.2MB/s)
sendbackup: size 5515640
sendbackup: end
\--------


NOTES:
  planner: Last full dump of localhost:/dev/hda2 on tape  overwritten in 1 
run.
  planner: Preventing bump of localhost:/dev/hda2 as directed.
  taper: tape week2 kb 231424 fm 1 writing file: Input/output error
  driver: going into degraded mode because of tape error.


DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS 
HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
- -------------------------- --------------------------------- ------------
localhost    /dev/hda2   0 55156402655488  48.1  28:161565.9   N/A   N/A 

(brought to you by Amanda version 2.4.2p2)
- ------------------------------------------------------------------------

I have no idea why it starts to fail now but not before, is it a hardware 
problem? Appriciate any suggestions from you guys. Please tell me what more 
do i need to include.


Thanks and regards
junaidi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9WB4fInIYkBVpGqURAqAYAJ4o6Xr3q4PMg2lR7ISrMKzVX8ddJgCfWbCW
KLjbnqK7XQ4ZS0Kj9poyyKw=
=5b8V
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>