Amanda-Users

AW: AW: Question: does this DLT Drive work?

2006-02-16 10:20:39
Subject: AW: AW: Question: does this DLT Drive work?
From: "Sebastian Koesters" <skoesters AT sino DOT de>
To: <amanda-users AT amanda DOT org>
Date: Thu, 16 Feb 2006 16:15:35 +0100
Hi and thank you

I see this

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec 29160 Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

  Vendor: QUANTUM   Model: DLT-V4            Rev: 0400
  Type:   Sequential-Access                  ANSI SCSI revision: 02
 target0:0:4: Beginning Domain Validation
WIDTH IS 1
(scsi0:A:4): 6.600MB/s transfers (16bit)
 target0:0:4: Domain Validation skipping write tests
(scsi0:A:4): 40.000MB/s transfers (20.000MHz, offset 96, 16bit)
 target0:0:4: Ending Domain Validation

and this in dmesg

st: Version 20050312, fixed bufsize 32768, s/g segs 256
Attached scsi tape st0 at scsi0, channel 0, id 4, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA
1048575

so the drive must be /dev/st0

but shouldnt the drive make some sound or something like this when i try to
rewind (mt -f /dev/st0 rewind) ?!

it shows no activity on the led and makes no sounds (using the tape)


-----Ursprüngliche Nachricht-----
Von: Paul Bijnens [mailto:paul.bijnens AT xplanation DOT com] 
Gesendet: Donnerstag, 16. Februar 2006 16:01
An: Sebastian Koesters
Betreff: Re: AW: Question: does this DLT Drive work?

On 02/16/2006 03:38 PM, Sebastian Koesters wrote:
> 
> Now i build in the drive but i do not know whats his device name is?!
> 
> My old DAT-Drive was nst0 but this does nt work with the DLT!?

Do "dmesg | less", short after a reboot (short means: when the
oldest messages in the kernel ring buffer are not yet overwritten
by newer ones, that could be minutes, or months, depending on
your environment).

Look in the boot messages for your hardware.
First a SCSI card should be detected  (from my machine:)

  scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
          <Adaptec 29160 Ultra160 SCSI adapter>
          aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

  (scsi0:A:3): 160.000MB/s transfers (80.000MHz DT, offset 64, 16bit)
    Vendor: HP        Model: Ultrium 2-SCSI    Rev: S24D
    Type:   Sequential-Access                  ANSI SCSI revision: 03

If you do not see that, you may need to load the kernel module for
your particular scsi card.  In my case it is done automatically,
the manual command would be: "modprobe aic7xxx", because that kernel
module can handle that kind of hardware card.

Some lines further down, you should see the sequential tape (st)
kernel module handle the tape drive that was discovered:

  st: Version 20040403, fixed bufsize 32768, s/g segs 256
  Attached scsi tape st0 at scsi0, channel 0, id 3, lun 0
  st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 
1048575

If you don't have lines starting with 'st', you may need to load the
st-kernel module too (manual command:  "modprobe st").

The middle line above also show that "st0"  (that means /dev/st0) is
the tape drive device.

A good introduction is found here:
http://www.chongluo.com/books/rute/node45.html#SECTION004569000000000000000




-- 
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************






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