[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to access tape drive ?



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 debian-user-request@lists.debian.org < /dev/null
> 
> 


Reply to: