On Thu, 2003-03-13 at 01:44, Eric Medina wrote:
> On Mon, 10 Mar 2003 07:44:32 Bret Hughes wrote:
> 
> > is /dev/tape linked to st0?
> >
> > try mt status /dev/st0
> >
> > is the st module loaded?
> >
> > lsmod
> >
> > if not try
> >
> > insmod st
> >
> > you can create /dev/tape if it does not exist.
> >
> > ln -s /dev/st0 /dev/tape
> >
> 
> Ys, the st module is loaded. I did what you suggested and linked /dev/st0 to
> /dev/tape. I tried running mt status and nothing seems to be happening. I
> cant even use ctl-C to kill it or ctl-Z to suspend it. Same thing goes with
> tar. I tried:
> 
>     tar -c -f /dev/st0 backup
> 
> just to test and nothing seems to be happening. Cant also kill or suspend. I
> used to do my tape backups in IRIX and was pretty much straightforward and
> easy for me. Just plug the drive to the scsi port and run tar or mt and
> that's it. That's why i thought it'd be easy for me to do it in linux. Have
> any idea what's wrong? Could it be a hardware thing? Is there a linux
> utility that will allow me to test the communication to the tape drive? Im
> pretty much clueless when it comes to doing tape backups in linux. Thanks.
> 
> eric

I hae never really had trouble, so I am not sure what is happening.  Is
the tape drive seen by the system 

less /var/log/dmesg and search for tape.  Here is what my compaq 300
with a DLT tape drive looks like.

this is at the very end of my dmesg file YMMV

EXT3-fs: mounted filesystem with ordered data mode.
st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g
segs 16
Attached scsi tape st0 at scsi1, channel 0, id 6, lun 0

a similar message exists in /var/log/messages.4 ( it has been up 28
days) 

you should also have an entry in /proc/scsi.  Here's mine:

[EMAIL PROTECTED] scsi]$ pwd
/proc/scsi
[EMAIL PROTECTED] scsi]$ ls
scsi  sym53c8xx
[EMAIL PROTECTED] scsi]$ cat scsi
Attached devices: 
Host: scsi1 Channel: 00 Id: 06 Lun: 00
  Vendor: DEC      Model: DLT2000 15/30 GB Rev: 840B
  Type:   Sequential-Access                ANSI SCSI revision: 02


Someone suggested that you need a different controller.  I don't know
about that.

Things to consider with scsi are correct cable terminations and device
ids.  Your manual should tell you how to make sure that there is exaclty
one terminator on a scsi chain.

HTH
Bret



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to