Amanda-Users

Re: debugging chg-scsi

2004-11-04 16:44:36
Subject: Re: debugging chg-scsi
From: Erik Anderson <erikerik AT gmail DOT com>
To: Frank Smith <fsmith AT hoovers DOT com>
Date: Thu, 4 Nov 2004 15:40:24 -0600
On Thu, 04 Nov 2004 15:36:05 -0600, Frank Smith <fsmith AT hoovers DOT com> 
wrote:
> Maybe, mabe not.  Depends on the user/group of the devices and the
> user/group Amanda runs as.
> Also, while sg is the proper device to use to control the changer,
> it doesn't understand tape commands like rewind, so make sure your
> tape device is referencing an st device (of course, your kernel
> also needs scsi tape support compiled in or the module loaded or you
> won't have any st devices).

Okay - well I'm getting conflicting messages here.  I had previously
been using /dev/nst0 to access the tape drive.  That wasn't working,
so someone here told me I should use the sg* nodes to access the
drive.  So that's when I switched to /dev/sg2.  I changed the dev
entry in chg-scsi.conf back to /dev/nst0 and this is what I'm still
getting:

amanda@lpdlnx00 LPD $ amcheck LPD
Amanda Tape Server Host Check
-----------------------------
Holding disk /dumps/amanda: 36514756 KB disk space available, that's plenty
amcheck-server: could not get changer info: could not read result from
"/usr/libexec/chg-scsi"

-Erik

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