Wilson:

>       I have checked that there is no /dev/st0 or /dev/nst0. Does it
> mean the kernel dosen't support tape drive ???? Need me recompile the 
> kernel ??
> 
>       Thank You! 
> 
> Wilson

Your original post (see later in this post) shows that the kernel
recognized your tape drive.  Thus you do not need to re-compile the
kernel.  Just make your devices with 'mknod'.  The 'st' devices have
major 9 and minors 0 - 7 (for st0 -> st7) and the rewind devices
('nst') have major 9 and minors 128 - 135 for nst0 to nst7.  

Just make them (as root, see man mknod), ensure the ownership is
root:tape and permissions 660, and add (if necessary) your userid to
the tape group in /etc/group.

As far as I know, you only need /dev/st0 and /dev/nst0. Those are the
only two I use.

Dean

> On Mon, 17 Jan 2000, Dean Allen Provins wrote:
> 
> > Wilson:
> > 
> > I have a SCSI tape too.  The device names are /dev/st0 (rewinds after
> > each operation) and /dev/nst0 (does NOT rewind after each operation -
> > you or your program/script must do the rewind).
> > 
> > You can use 'mt -f /dev/[n]st0 OPERATION' to manipulate a tape
> > (do man mt for a description of the OPERATIONS that are available).
> > 
> > For backups, use 'tar' or (I prefer) 'dump and restore'.
> > 
> > Dean Provins
> > Calgary
> > -----------------------
> > 
> > > Dear all,
> > > 
> > >   I have a scsi tape drive and want to use it to backup. From the
> > > output of dmesg, i know that the tape drive is detected. However, I don't
> > > know the device file name of the drive. 
> > > 
> > > The output of "dmesg" command :
> > > 
> > > scsi : 1 host.
> > >   Vendor: IBM       Model: DCAS-34330W       Rev: S65A
> > >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > > Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> > > (scsi0:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 8.
> > >   Vendor: IBM       Model: DCAS-34330W       Rev: S65A
> > >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > > Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
> > > (scsi0:0:1:0) Synchronous at 20.0 Mbyte/sec, offset 8.
> > >   Vendor: SEAGATE   Model: ST31200N          Rev: 8648
> > >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > > Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0
> > > (scsi0:0:2:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> > >   Vendor: SEAGATE   Model: ST31200N          Rev: 8648
> > >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > > Detected scsi disk sdd at scsi0, channel 0, id 4, lun 0
> > > (scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15.
> > >   Vendor: SONY      Model: SDT-2000E         Rev: E326
> > >   Type:   Sequential-Access                  ANSI SCSI revision: 02
> > > (scsi0:0:6:0) Synchronous at 5.0 Mbyte/sec, offset 8.
> > > scsi : detected 4 SCSI disks total.
> > > 
> > > 
> > > 
> > > Pls help!  Thank you very much!
> > > 
> > > Wilson
> > > 
> > > 
> > > -- 
> > > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> > > 
> > > 
> > 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

Reply via email to