Amanda-Users

Re: debugging chg-scsi

2004-11-04 16:00:16
Subject: Re: debugging chg-scsi
From: Erik Anderson <erikerik AT gmail DOT com>
To: Amanda Users <amanda-users AT amanda DOT org>
Date: Thu, 4 Nov 2004 14:56:28 -0600
On Thu, 4 Nov 2004 14:51:54 -0600, Erik Anderson <erikerik AT gmail DOT com> 
wrote:
> Okay - here's the deal.  My /dev/sg* entries are symlins.  They're
> pointing as follows:
> 
> /dev/sg0 -> scsi/host0/bus0/target0/lun0/generic
> /dev/sg1 -> scsi/host1/bus0/target1/lun0/generic
> /dev/sg2 -> scsi/host1/bus0/target3/lun0/generic
> 
> The permissions on the symlinks are 555, but the permissions on the
> targets are 660, which is correct.

Sorry - hit the send button prematurely there.

If I put the full path to the device into chg-scsi.conf instead of the
symline, I get this:

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: open:
/dev/scsi/host1/bus0/target1/lun0/generic: Success

Amanda Backup Client Hosts Check
--------------------------------
Client check: 0 hosts checked in 0.001 seconds, 0 problems found

(brought to you by Amanda 2.4.4p2)

With the full path to the scsi devices in chg-scsi.conf, amcheck
executes in about a quarter second, so that doesn't seem right.

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