Amanda-Users

Re: Problems with finding tapes loaded

2003-11-06 12:10:42
Subject: Re: Problems with finding tapes loaded
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 6 Nov 2003 12:07:40 -0500
On Thu, Nov 06, 2003 at 08:48:27AM -0800, Adam Ardis wrote:
> I agree, it's most likely not amanda at this point. 
> /dev/rmt are sym links, so I used the raw device for
> the mt command.  The drives are all standalone, but on
> the same SCSI target.

This doesn't seem right.  Here is just the device paths
of the 4 devices you gave:

> 
> ../../devices/pci@1f,4000/scsi@3,1/st@2,0:ubn
> ../../devices/pci@1f,4000/scsi@3,1/st@3,0:ubn
> ../../devices/pci@1f,4000/scsi@3,1/st@4,0:ubn
> ../../devices/pci@1f,4000/scsi@3,1/st@5,0:ubn

That says to my understanding that they are scsi id's
2-5.  In contrast, here are the paths to my two rmt
devices, 0 and 1 (no letters for simplicity):

../../devices/pci@0,0/pci9004,7178@d/st@5,0:
../../devices/pci@0,0/pci9004,7178@d/st@5,1:

These are the same scsi id (5), but different luns (0 & 1).
The actual device is a drive with a changer.  The drive
appears at lun 0, the changer at lun 1, but both are
the same scsi id.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)