On Fri, 17 May 2002 at 9:09pm, Alexander Belik wrote

> How to see HW compression on/off?
> [root@auth alex]# mt -f /dev/nst0 status
> SCSI 2 tape drive:
> File number=0, block number=0, partition=0.
> Tape block size 0 bytes. Density code 0x8c (EXB-8505 compressed).
> Soft error count since last status=0
> General status bits on (41010000):
>  BOT ONLINE IM_REP_EN
> 
> HW compression enable? How too disable it? I want to use SW (gzip)

For whatever reason, the scsi tape driver isn't recognizing your drive 
correctly.  It thinks it's a Exabyte drive.  Looking at the output of 'mt 
densities', try this:

mt -f /dev/nst0 setdensity 0x25

0x25 being the density code for DDS3.  To make sure compression is off:

mt -f /dev/nst0 compression 0

The error log message you saw may be due to the driver having the wrong 
density code.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

Reply via email to