Amanda-Users

Re: not an amanda tape - but it was

2005-06-29 03:24:40
Subject: Re: not an amanda tape - but it was
From: Frank Smith <fsmith AT hoovers DOT com>
To: Rebecca Dridan <sysadmin AT ridley.unimelb.edu DOT au>, amanda-users AT amanda DOT org
Date: Wed, 29 Jun 2005 02:12:51 -0500
--On Wednesday, June 29, 2005 16:34:19 +1000 Rebecca Dridan <sysadmin AT 
ridley.unimelb.edu DOT au> wrote:

> I hope someone can help me with an odd amanda problem. I've searched the net 
> and archives, but haven't seen anyone else with this problem yet.
> 
> Last week I had a fully working Amanda setup on a BSD server, with a daily 
> and a weekly set of tapes. This week, when I put the next tape in, and run 
> amcheck daily, I get:
> 
> ERROR: /dev/nsa0: not an amanda tape
>        (expecting tape Daily03 or a new tape)
> 
> That is happening with _all_ tapes I've checked, daily or weekly. The two 
> sets are stored in different places and I really can't accept the fact that 
> they all died at the same time. The only thing that happened between amanda 
> working and not working
> is that the server was rebooted.
> 
> I labelled a new tape, and flushed a backup to it, and that tape appears to 
> work, but that doesn't solve my problem of getting to my old backups, or of 
> whether I have to label a new set of tapes every time the server is rebooted. 
> Does anyone have any
> ideas what to look for? Even dd is not finding anything on the old tapes, 
> making me scared to check too many of them, in case the act of checking them 
> is in some way wiping them....

Very strange...

Can you read the new tape you just used?
Are there any errors in the Amanda debug logs or the system logs?
Are you sure you're actually using a tape and /dev/nsa0 didn't get converted 
from a device to a plain file?
Does an mt command actually do something with the tape (can you rewind and 
eject it)?
A dd of your tape shouldn't hurt it, but it's always safest to use the 
write-protect tab in case you get
your if= and of= accidentally reversed.
If you rewind the tape, and dd a record off of it, what exactly do you get?


Frank

> 
> Hope someone can give me a clue.
> 
> Rebecca



--
Frank Smith                                                fsmith AT hoovers 
DOT com
Sr. Systems Administrator                                 Voice: 512-374-4673
Hoover's Online                                             Fax: 512-374-4501

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