Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Hardware compression in Exabyte 8505XL drives

From: Andrey Smagin <andrey(at)smagin.com>
Date: Wed Feb 26 2003 - 01:45:39 EST


Hi,

Is it possible to raise the limit for maximum density code for the tape drives in sys/scsi/st.c from 0x45 to 0x90 ? Otherwise, doing 'mt density 140' fails.

Hardware compression in Exabyte 8205, 8505, 8205XL and 8505XL drives can be turned on by selecting the appropriate format with 'mt density <density_code>'.

>From their Linux support page:

  http://exabyte.com/support/online/kb/display.cfm?id=215

  8200 format ,  0x14:  mt -f /dev/st0 setdensity 20
  8500 format,   0x15:  mt -f /dev/st0 setdensity 21
  8500c format , 0x8c:  mt -f /dev/st0 setdensity 140
  8200c format , 0x90:  mt -f /dev/st0 setdensity 144

Tested by doing couple dumps and restores on sparc/3.2-stable with Exabyte 8505XL drive and 8500c format.
(the default format on my drive is 8500 - uncompressed).

Thank you,
Andrey

Index: sys/scsi/st.c



RCS file: /cvs/src/sys/scsi/st.c,v
retrieving revision 1.33
diff -u -r1.33 st.c
--- sys/scsi/st.c	2002/12/30 21:50:29	1.33
+++ sys/scsi/st.c	2003/02/26 05:51:04

@@ -88,7 +88,7 @@
 /*
  * Maximum density code known.
  */
-#define SCSI_2_MAX_DENSITY_CODE		0x45
+#define SCSI_2_MAX_DENSITY_CODE		0x90
 

 /*

  • Define various devices that we know mis-behave in some way,
Received on Wed Feb 26 01:46:42 2003
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:51 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library