Amanda-Users

Re: Input/output error attempting to run amlabel - Resolved

2004-08-25 15:03:31
Subject: Re: Input/output error attempting to run amlabel - Resolved
From: "Frazier Scott" <scottf AT oit DOT edu>
To: <amanda-users AT amanda DOT org>
Date: Wed, 25 Aug 2004 10:49:31 -0700
Turns out I'm an idiot.  Just needed to clean the drive.  Sorry for the
hassle!

>>> KEVIN ZEMBOWER <KZEMBOWE AT jhuccp DOT org> 8/25/2004 8:47:19 AM >>>
I think that the first error, when reading, is caused by trying to read
the label from a pristine tape, with nothing written on it. I get this
error all the time when I label new tapes. I just ignore it.

There has recently been some discussion of this on this list, and I may
actually have this wrong. This is just my guess.

However, the second input/output error, when 'writing endmark,' I've
never seen before (I started writing this response before I noticed
this). Maybe someone else can help with that.

-Kevin

>>> Frazier Scott <scottf AT oit DOT edu> 08/24/04 11:14PM >>>
Can anyone give me an idea why this might be occurring (see below)? 
Mandrake Linux 9.2, su'ed to the amanda user, all config files seem to
be set up OK, using chg-zd-mtx, tapetype set to the pv120t-dds4 found
on
the faq-o-matic site, Dell PowerVault 120T AutoLoader with DDS-4 tapes.

I am attempting to populate the tapelist (already "touched" the file).

After I get this error, running mt -f /dev/nst0 status also gives me
Input/output error.  If I then unload the tape using mtx -f /dev/sg5
unload, I can reload the tape using mtx -f /dev/sg5 load 1 and mt -f
/dev/nst0 status works fine.  I attempt to run amlabel again, and the
whole thing starts over again.

-bash-2.05b$ /usr/amanda/sbin/amlabel sunday amanda001 slot 1
labeling tape in slot 1 (/dev/nst0):
rewinding, reading label, reading label: Input/output error
rewinding, writing label amanda001
amlabel: writing endmark: Input/output error

Thanks,

Frazier.



<Prev in Thread] Current Thread [Next in Thread>
  • Re: Input/output error attempting to run amlabel - Resolved, Frazier Scott <=