Amanda-Users

Re: I/O error on labelling

2006-09-14 13:13:52
Subject: Re: I/O error on labelling
From: Andreas Putzo <andreas AT inferno.nadir DOT org>
To: amanda-users AT amanda DOT org
Date: Thu, 14 Sep 2006 19:03:34 +0200
On Sep 14, Gene Heskett wrote:
> On Thursday 14 September 2006 07:14, Fabio Corazza wrote:
> >rewinding, writing label mybbookInSite-10, checking label, done.
> 
> Generally, if it says it did it, it did it ok.
> 
> >After that I see that the tape that was previously on slot 10 is on the
> >data transfer element (this is correct, I think). How can I check that
> >the tape has been labeled correctly?
> 
> Once the tape has been loaded and recognized by the drive as shown by an 
> 'mt -f /dev/ice status returning a 'BOT' (begining of tape) status, then:
> 'dd if=/dev/ice count=1' should spit out the first block to stdout, your 
> screen.  This should contain the tape label amlabel applied followed by 
> about 32,730 bytes of zeros, so it won't look like 32k on screen.  Here's 
> this mornings vtape equivalent file:
> 
> AMANDA: TAPESTART DATE 20060914001000 TAPE Dailys-20
> 014
> 

To use an amanda tool, you may also use amcheck for this. Among other
things the label of the tape and whether it fits in your configuration is
checked, too.
The dd method may be faster anyway.

regards,
Andreas Putzo



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