Amanda-Users

Re: amlabel not detecting a tape in device?

2003-08-20 16:59:28
Subject: Re: amlabel not detecting a tape in device?
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 20 Aug 2003 16:54:31 -0400
On Wed, Aug 20, 2003 at 01:24:07PM -0700, Chris Fairman wrote:
> Hi, 
> 
> 
>             I'm having problems getting Amanda amanda-2.4.4p1 to
> install/work on BSDi 5. I've read and re-read all the documentation, and
> I'm using this list as a 'last resort.' 
>             
> 
>             I'm hoping this may be just a simple configuration issue:
> 
>                         I can successfully build and install the Amanda
> package, but when running amlabel, it asks: "insert tape into slot  and
> press return" I do so and press <enter> but the message repeats itself.
> I need to ctrl-c to get out of it. I am using a VXA-2 Tape Drive.
> 
> 
>             Things I have tried:
>  
> 
>       I can run mt and receive tape drive information as user: amanda 


Obvious "is the plug in the wall" type questions first.

You say you can get status back from mt.  Can you also write and read
to the tape drive.  And then use mt to move forward to the next file,
or rewind, or ...

Say you do this:

  $ mt -f /dev/nrst0 rewind
  $ cat /tmp/* | dd of=/dev/nrst0 bs=32k
  $ tar -cf /dev/nrst0 /etc
  $ tar -cf /dev/nrst0 /bin
  $ mt -f /dev/nrst0 rewind
  $ mt -f /dev/nrst0 fsf 1
  $ tar -tvf /dev/nrst0

Do you get an "ls -l" type listing of your /etc directory?

If so, then amanda should be able to work with your drive.
And we have other things to consider. :<

jl
-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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