Amanda-Users

quick help needed on changer problem

2006-05-16 07:17:00
Subject: quick help needed on changer problem
From: listrcv <listrcv AT condor-werke DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 16 May 2006 12:09:29 +0200

Hi,

today, there have been problems with the tape drive again. Slot 7 could no longer be found in the slot list.

I unloaded the module for the SCSI controller and sg and st, then turned off the device and turned it back on and reloaded the modules. Devices are reported as they should.

But amtape cannot change slots:


prometheus:/etc/cron.daily# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ICP      Model: Host Drive  #00  Rev:
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: EXABYTE  Model: VXA 1x10 1U      Rev: A102
  Type:   Medium Changer                   ANSI SCSI revision: 04
Host: scsi4 Channel: 00 Id: 01 Lun: 00
  Vendor: EXABYTE  Model: VXA-2            Rev: 100E
  Type:   Sequential-Access                ANSI SCSI revision: 02
prometheus:/etc/cron.daily# su - backup
backup@prometheus:~$ /usr/sbin/amtape condor slot 7
amtape: could not load slot /usr/lib/amanda/chg-zd-mtx:: line 605: [: 6:VolumeTag=: integer expression expected
backup@prometheus:~$ /usr/sbin/amtape condor slot 1
amtape: could not load slot /usr/lib/amanda/chg-zd-mtx:: line 605: [: 6:VolumeTag=: integer expression expected
backup@prometheus:~$ /usr/sbin/amtape condor slot next
amtape: could not load slot /usr/lib/amanda/chg-zd-mtx:: line 605: [: 6:VolumeTag=: integer expression expected


Last time I turned the tape off and back on, it helped. Is the above something that might be recovered from by restarting the server, or does it mean that the tape changer is now completely broken?

The counting of SCSI devices seems to increase each time I unload and reload the modules, so it's now scsi4 and was scsi3 before. Is that normal?


GH

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