Hi!
first of all let me explain my position. I have been asked to help
sort out some systems by giving a few hours a week. The first problem I
have is to fix their backup system, which is 'amanda'.
I am familiar with Unix but this is the first time I've come across
amanda. I have had a quick look at how amanda works and I've had a look
at the log files on the failing system.
The first error that appears in the log is this:
[label tape1_125 or new tape not found in rack]
Now I had a quick try at running the backup script that was in cron
(runs as user 'ops') and it gave this error. But I had just inserted
blank new tapes! Does it need pre-labelled tapes? (The next thing I'll
try is to re-use some of the old tapes).
Also I noticed that the "main holding disk" is 100% full. Would this
cause this error? Next thing to try is clearing this out.
I am not even sure if the software is seeing the tape. In the file
amanda.conf(and I'm *assuming* this is the configuration file) there is
a line:
tapedev "/dev/rmt/0bn"
and if I run 'mt -f /dev/rmt/0bn' it says no such device.
Maybe I need to reboot and specify -r to rebuild the kernel (this
machine is a Sparc running SunOS 5.5.1) I looked in 'dmesg' but I
couldn't see a reference to a tape unit.
Just before I left I desided to run amcheck, here is what happened:
$ amcheck DailySet1
amcheck: could not cd to confdir /usr/local/amanda/etc/amanda/DailySet1: No such
file or directory
$ ls /usr/local/amanda/etc/amanda
amanda amanda.conf tape1 tape2
$ amcheck tape1
Amanda Tape Server Host Check
-----------------------------
ERROR: holding disk /disk/home3/AMANDA/tape1: statfs: No such file or directory
amcheck-server: slot 2: slot is empty
amcheck-server: slot 2: slot is empty
ERROR: new tape not found in rack
(expecting a new tape)
NOTE: skipping tape-writable test
NOTE: info dir /usr/local/amanda/logs/tape1/laphroaig: does not exist
NOTE: info dir /usr/local/amanda/logs/tape1/alcyone: does not exist
etc etc
Well I know this is all a bit vague but I'd just like to get this going
again as it is currently a real mess.
Anyway, I'll have a bash at getting things working tonight but if
anyone can shed any light, or give me some useful advice, I'd be very
grateful.
Cheers,
Ross
--
Ross Macintyre
Heriot-Watt University
[EMAIL PROTECTED]