On Thursday 25 July 2002 16:49, Chris Bourne wrote:
>Hello,
> I need help with figuring out why amanda is giving me tape
> errors. First off I am using Sony 20/40G dgd 150p tapes on a Dell
> powervault 120T DDS-4 autoloader on RedHat 7.2. Being that the
> tapes I am using were not in the tapelist I ran the command
>
># tapetype -f /dev/nst0 -t DDS-4
>
>and the output after several hours was
>
>define tapetype DDS-4 {
> comment "just produced by tapetype program"
> length 16323 mbytes
> filemark 190 kbytes
> speed 1264 kps
>}
>
>So I put this info in my amanda.conf file and defined tapetype as
> DDS-4. So then I ran the command
>
>bash-2.05$ /usr/sbin/amcheck DailySet1
>
>as the user amanda and I get the output of
>
>Amanda Tape Server Host Check
>-----------------------------
>
>ERROR: /dev/nst0: not an amanda tape
>
>(expecting a new tape)
Mmmm... Has the tape been labeled? But normally, it would take
more than the reported 5.000 seconds to attempt a tape header read,
so I am having doubts that this is the real problem. 15 seconds I
could believe, but 5.000 seconds absolutely flat? I'm from
Missouri on this one.
>NOTE: skipping tape-writable test
>
>NOTE: info dir /var/lib/amanda/DailySet1/curinfo: does not exist
>
>NOTE: it will be created on the next run
>
>Server check took 5.000 seconds
>
>Amanda Backup Client Hosts Check
>
>--------------------------------
>
>Client check: 1 host checked in 0.015 seconds, 0 problems found
>
>(brought to you by Amanda 2.4.2p2)
>
>I have also sent a copy of my amanda.conf as an attatchment. If
> anyone can help I would highly appreciate it.
You really should have about 4 or 5 more tapes so that you have 2
full's plus incrementals on hand at all times.
You don't have a holding disk defined for amanda's scratchpad use,
that can slow her up a bunch AIUI, and waste tape due to buffer
underruns. You'll need at least as much disk room as the tape
capacity, and I usually set mine to use everything but the last 2
gigs. I have about 20 free on that disk at the instant.
Also, you have the tapelist file location/name commented out. This
is a requirement AFAIK, but the default is the shown path if not
otherwise specified. This is the file that I believe amanda uses
to keep track of the tapes, and the order in which they've been
used, and wen they can be re-used. It would be created by running
amlabel, so if its missing, that confirms the non-use of amlabel.
You also have nothing defined in the global dumptype. This is by
convention the location used to specify whether or not its to keep
index files of what its done, and even whether it actually writes
the tape or just does a run for the exercise. At least uncomment
the 'index yes' line. Amanda will take care of the housekeeping by
deleting stale index files when they are made moot by the re-use of
the corresponding tape.
There is probably more, but thats what hit me on first read.
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.08% setiathome rank, not too shabby for a WV hillbilly