Amanda-Users

Re: tape problem

2003-10-27 02:23:37
Subject: Re: tape problem
From: "Yogish" <yogish.gk AT ahsinc DOT com>
To: "C.Scheeder" <christoph.scheeder AT scheeder DOT de>
Date: Mon, 27 Oct 2003 00:02:33 -0700
Hi Paul and Scheeder

Here is the error it is giving me when I try to run amdump. It is not
specific to friday but it happens everyday, So I am not sure what to do.
 I have attached the lastest amanda.conf and disklist files.
*** A TAPE ERROR OCCURRED: [reading label: 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:
  brokerserv sda6 lev 0 FAILED [can't switch to incremental dump]
  brokerserv sda3 lev 0 FAILED [can't switch to incremental dump]
Please tell how I can force amanda to do a dump  on the existing tape
irrespective of the tape number or label.
Regards
Yogish


------------------------------------------------------------------
Yogish.G.K
American Healthcare Solutions Inc
405, South Lincoln
Steamboat Springs CO-80487
Ph-970-870-6232 ( EXT 106) (office)
Ph:-970-219-6520 (Cell)
Email: yogish.gk AT ahsinc DOT com
------------------------------------------------------------------------
----- Original Message ----- 
From: "C.Scheeder" <christoph.scheeder AT scheeder DOT de>
To: "Your Name" <yogish.gk AT ahsinc DOT com>
Cc: "Paul Bijnens" <paul.bijnens AT xplanation DOT com>; <amanda-users AT 
amanda DOT org>
Sent: Sunday, October 26, 2003 11:42 PM
Subject: Re: tape problem


> Hi,
> it is easy for you to verify if your tapelabels are valid,
> do the following commands:
>
> mt rewind
> dd if=/dev/nst0 bs=32k count=1
>
> this will give you the first block of the tape.
> if the first characters there in are something like
>
> "AMANDA: TAPESTART DATE"
>
> then your labels are ok. if not you'll have to relabel them.
> How?
> very easy:
>
> amlabel -f normal normal05
>
> the -f option forces amanda to ignore its tape-database and the contents
> on tape an write the label anyway.
> Christoph
>
>
> Your Name schrieb:
> > Hi Paul
> > You were right in pointing out that I have used a different
> > amanda.conf file. However the changes in this file and that file are
> > minimal (like nst0 instead of st0).  You might be right when you
> > say "by using a rewinding device, I might have overwirtten the name ",
> > I am not sure how to answer this. I tried to rename the tape
> > by "amlabel normal normal05" which should be the tape it should be
> > expecting. When I do this it says the label is already present in the
> > drive. How can do a manual dump for time being immediately?. IS there
> > any way I can force amanda to do backup on the tape irrespective of
> > its label?.
> >
> > I appreciate your help.
> > Regards
> > Yogish
> >
> >
> >>Yogish wrote:
> >>
> >>>Hi all
> >>>
> >>>I am facing problems with the tapes. Everytime I try to run
> >>>amcheck,amverify or amdump it says its expecting a new tape. Here
> >
> > are
> >
> >>>the results it puts out when I run amcheck
> >>>
> >>>Amanda Tape Server Host Check
> >>>-----------------------------
> >>>Holding disk /home/amanda: 29635568 KB disk space available,
> >
> > that's plenty
> >
> >>>ERROR: /dev/nst0: reading label: Input/output error
> >>>       (expecting a new tape)
> >>>NOTE: skipping tape-writable test
> >>>Server check took 0.016 seconds
> >>
> >>
> >>I strongly believe that the amanda.conf you send is not the one
> >>that is used!  Or you changed it very recently.
> >>
> >> From your amanda.conf:
> >>
> >> > tapedev "/dev/st0"
> >>
> >>This is wrong: it is the rewinding device, and if I remember
> >
> > correctly
> >
> >>I pointed out this and other errors in your amanda.conf a few weeks
> >
> > ago:
> >
> >>http://groups.yahoo.com/group/amanda-users/message/46994
> >>
> >>But the amcheck above says it uses /dev/nst0, so assume that the
> >>current amanda.conf is a different one...
> >>
> >>It could be that by using the rewinding device, you accidently
> >>overwrote the label.  Was this what happened?
> >>
> >>--
> >>Paul @ Home
> >>
> >>
> >>
> >>
> >
> >
>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.529 / Virus Database: 324 - Release Date: 10/17/2003

Attachment: amanda.conf
Description: Binary data

Attachment: disklist
Description: Binary data

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