I have inherited an Amanda installation and am  
having some difficulty with it:

>>>>>>
#su amanda -c "amcheck -s claranet"
Amanda Tape Server Host Check
-----------------------------
Holding disk /clara/backup/claranet: 10633338 KB disk space available, using 10633338 
KB
amcheck-server: could not get changer info: specify a number as tape_device [0-9]

(brought to you by Amanda 2.4.2p2)
<<<<<<

I had a look in the source and it seems that
tape_device is expected to be one character
long:

  tape_device = getconf_str(CNF_TAPEDEV);

  /* Get the configuration parameters */
  /* Attention, this will not support more than 10 tape devices 0-9 */
  /* */
  if (strlen(tape_device)==1){

>>>>>
#amgetconf claranet tapedev
/dev/nrsa0
<<<<<

from chg-scsi.conf

<<<<
number_configs  2
eject           1       # Tapedrives need an eject command
sleep           35      # Seconds to wait until the tape gets ready
cleanmax        10      # How many times could a cleaning tape get used
changerdev      /dev/ch0
firstslot       0
lastslot        10
gravity         1
#
# Next comes the data for drive 0
#
config          0
drivenum        0
dev             /dev/nrsa0      # the device that is used for the tapedrive 0
startuse        0               # First slot
enduse          9               # Last slot
statfile        /usr/local/etc/amanda/claranet/nrsa0.slot   #slot count
#cleancart      1       # slot for cleaning cartridge (We don't use one)
cleanfile       /usr/local/etc/amanda/claranet/nrsa0.clean # cleaning info
usagecount      /usr/local/etc/amanda/claranet/nrsa0.usage
...
>>>>

Should 'dev' be just a number (0), or am
I missing something?

Thanks,

Ollie

-- 
Oliver Cook    Systems Administrator, ClaraNET
[EMAIL PROTECTED]               020 7903 3065

Reply via email to