# cat /proc/scsi/scsi 
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: External Disk 0  Rev: RGL1
  Type:   Direct-Access                    ANSI SCSI revision: 05
 
  
# lspci | grep -i scsi
01:01.0 SCSI storage controller: Adaptec ASC-29320 U320 (rev 03)
01:01.1 SCSI storage controller: Adaptec ASC-29320 U320 (rev 03)

# dmesg|grep -i tape
Attached scsi tape st0 at scsi4, channel 0, id 6, lun 0

# tapeinfo 
argc=1Usage: tapeinfo -f <generic-device>
[root@fileserver ~]# tapeinfo -f /dev/st0
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=0 (Unknown?!)
mtx: Request Sense: Sense Key=Hardware Error
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = C1
mtx: Request Sense: Additional Sense Qualifier = 85
mtx: Request Sense: BPV=yes
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
mtx: Request Sense: Field Pointer = 00 00
INQUIRY Command Failed

# mt -f /dev/st0 rewind
# mt -f /dev/st0 erase
# mt -f /dev/st0 rewind

# mt -f /dev/st0 setblk 0
# mt -f /dev/st0 compression on

# mt -f /dev/st0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x26 (DDS-4 or QIC-4GB).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN

# du -sh /backup
23G /backup

# find /backup > backup.list

# mt -f /dev/st0 compression 1

# tar zcvf /dev/st0 /backup
...
...
...


# tar ztf /dev/st0 > tape.list