Amanda-Users

Re: I/O error when writing to tape

2003-06-19 06:19:45
Subject: Re: I/O error when writing to tape
From: Toralf Lund <toralf AT procaptura DOT com>
To: Amanda Mailing List <amanda-users AT amanda DOT org>
Date: Thu, 19 Jun 2003 12:16:26 +0200
Toralf

anything in the /var/log/messages file (oe where ever the file lives).
Nothing related to the tape write operation there, I'm afraid...


what tape info (device etc) are you using in the amanda.conf
tpchanger "chg-zd-mtx"
tapedev "/dev/nrtape"
rawtapedev "/dev/tape"

(Yep, I have a changer, too.)

and do you use the same one when doing other dumps?
No, I concluded that the tape drive must be all right because I could write to a different one with a different config on a different host...

Seriously, though - of course I'm using the same one for the other dumps!

It might also be interesting to dump the failed holding area to a different drive, but I don't have an additional unit that I can test on.


Have you tried dd -ing to the device etc..
No. dd what exactly? I don't think dd'ing to the device in general is very interesting since I *know* it works. dd the exact data that fails, perhaps...




--
Martin Hepworth
Senior Systems Administrator
Solid State Logic Ltd
+44 (0)1865 842300

Toralf Lund wrote:
Just got

*** A TAPE ERROR OCCURRED: [[writing file: I/O error]].

during a backup run. - Must be something wrong with the tape or tape drive, I thought, but it turns out that 1. I get this error for various different tapes when trying to amflush the dump to them.
2. I can write other dumps to the same tapes.

Any idea what may cause this kind of thing to happen? I'm using the 20030516 snapshot, and holding disk is


# ls -lh
total 17G
-rw------- 1 amanda disk 1.0G Jun 17 00:48 fileserv._scanner2_nijos.0 -rw------- 1 amanda disk 1.0G Jun 17 01:08 fileserv._scanner2_nijos.0.1 -rw------- 1 amanda disk 1.0G Jun 17 01:28 fileserv._scanner2_nijos.0.2 -rw------- 1 amanda disk 918M Jun 17 01:45 fileserv._scanner2_nijos.0.3 -rw------- 1 amanda disk 1.0G Jun 17 00:10 fileserv._scanner3_SMA.0 -rw------- 1 amanda disk 1.0G Jun 17 00:34 fileserv._scanner3_SMA.0.1 -rw------- 1 amanda disk 438M Jun 17 00:46 fileserv._scanner3_SMA.0.2 -rw------- 1 amanda disk 1.0G Jun 16 23:57 fileserv._u_people.0 -rw------- 1 amanda disk 1.0G Jun 17 00:49 fileserv._u_people.0.1 -rw------- 1 amanda disk 1.0G Jun 17 01:22 fileserv._u_people.0.2 -rw------- 1 amanda disk 1.0G Jun 17 01:49 fileserv._u_people.0.3 -rw------- 1 amanda disk 1.0G Jun 17 02:22 fileserv._u_people.0.4 -rw------- 1 amanda disk 1.0G Jun 17 03:09 fileserv._u_people.0.5 -rw------- 1 amanda disk 314M Jun 17 03:24 fileserv._u_people.0.6 -rw------- 1 amanda disk 1.0G Jun 16 23:40 rogaland._usr_work.0 -rw------- 1 amanda disk 1.0G Jun 16 23:51 rogaland._usr_work.0.1 -rw------- 1 amanda disk 1.0G Jun 17 00:02 rogaland._usr_work.0.2 -rw------- 1 amanda disk 529M Jun 17 00:10 rogaland._usr_work.0.3






**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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