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
|