Amanda-Users

Re: making progress...

2005-05-27 17:35:07
Subject: Re: making progress...
From: Frank Smith <fsmith AT hoovers DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 27 May 2005 16:08:12 -0500
[keeping the thread on the list to enable other's input]
 
--On Friday, May 27, 2005 13:12:25 -0700 Cameron Matheson <cmatheson3 AT yahoo 
DOT com> wrote:
 
> Hi,
> 
> --- Frank Smith <fsmith AT hoovers DOT com> wrote:
>> I didn't see anyone else respond, so I'll jump in
>> with a guess. Are you sure your  changer script 
>> works properly? Can you watch the changer while 
>> running amcheck and see if it actually loads every 
>> tape?  My guess is that you are just re-reading
>> the label off the same tape 30 times.
> 
> Hmm, that is possible... i don't have access to the
> actual changer device, so i am unable to watch it. 
> I'm just using chx-mtx, i'll attach my config file to
> this message.
 
I would try to amlabel one tape in one slot (with a
differant label), then try to use amtape commands
to load another slot as wel as the slot you labeled,
then use mt rewind and dd to read the labels back.
That should show if your changer script is working
(not as easy as just looking at the changer, but if
it's remote its all you can do).
 
Frank
  
>> > also, this isn't totally related to amanda, but
>> > i'm still trying to learn this whole tape-drive
>> > thing... my tape-changer has two tape drives in it,
>> > nts0 and nts1.  i can do everything w/ nts0, but 
>> > if i try to doanything w/ nts1 (mt -f /dev/nts1 
>> > tell, for example), i get an i/o error.  any clues?
>
> Perhaps your OS doesn't see all the devices.  Linux
> kernels, for example, need the option set to scan
> for
> multiple LUNS (CONFIG_SCSI_MULTI_LUN=y) or it will 
> only detect the first device.
> 
> CONFIG_SCSI_MULTI_LUN=y #it's good to go
> Host: scsi2 Channel: 00 Id: 02 Lun: 00
>   Vendor: SPECTRA  Model: GATOR            Rev: 0128
>   Type:   Medium Changer                   ANSI SCSI
> revision: 02
> /proc/scsi/scsi:Host: scsi2 Channel: 00 Id: 08 Lun: 00
>   Vendor: SONY     Model: SDX-700C         Rev: 0102
>   Type:   Sequential-Access                ANSI SCSI
> revision: 02
> Host: scsi2 Channel: 00 Id: 09 Lun: 00
>   Vendor: SONY     Model: SDX-700C         Rev: 0102
>   Type:   Sequential-Access                ANSI SCSI
> revision: 02
> 
> Looks like everything is detected.
> 
> thanks a lot,
> Cameron Matheson

-- 
Frank Smith                                      fsmith AT hoovers DOT com
Sr. Systems Administrator                       Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501


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