SUMMARY: Sun 5GB DAT drive and SunOS 4.1.3_U1

From: Alfred Correira (unisql!alfred@cs.utexas.edu)
Date: Fri Dec 09 1994 - 15:20:33 CST


Sorry this summary is so tardy ... Things Happened ... :-)

Original query:

> Has anyone gotten the Sun 5GB DAT (Python) drive (X822A-ST) configured and
> working under SunOS 4.1.3_U1? If so, I'd appreciate getting the configuration
> parameters you used. We have some in-house, but don't run Solaris 2.x on the
> workstations to which we want to attach the DAT drives.
>
> If you *also* have dump parameters that work for you, I'd love to get those as
> well.

I should apologize up front: when I posted this, we had only read the
documentation supplied with the DAT drive, and we were still in the process of
setting up the system (and I wanted to get a leg up on getting the
configuration working). Turns out, after we set it up, that SunOS 4.1.3_U1
pretty much *did* support the 5GB DAT drive. One respondent sent us a SunSolve
patch description, which I include below with our commentary interspersed,
based on using the information in the patch README (this constitutes the
summary for SunOS 5GB DAT support part). Below that are a few responses on the
dump parameters part.

Thanks to respondents:
"Michael (M.A.) Meystel" <MEYSTMA@DUVM.OCS.DREXEL.EDU>
yves@suntech.abcomp.be (Yves Hardy)
martin@gea.hsr.it (Martin Achilli)
Andre Saile <saile@transtec.de>

> This is from SunSolve:
>
> SRDB ID: 7199
>
> SYNOPSIS: Can user put a 4mm dat tape on 4.1.3 system
>
> DETAIL DESCRIPTION:
>
> Can user put a 4mm dat tape on 4.1.3 system?
>
> SOLUTION SUMMARY:
>
> **** NOTE: THE 4MM DAT IS NOT SUPPORTED ON SunOS 4.1.3 ****
> **** SUN IS NOT REPONSIBLE FOR THE ACCURACY OF THIS ****
> **** INFORMATION, NOR ANY PROBLEMS THAT ARISE FROM IT'S ****
> **** USE. SHOULD PROBLEMS RESULT FROM THESE CHANGES ****
> **** REBOOT THE SYSTEM WITH THE ORIGINAL KERNEL ****
>
> 1) cp /sys/scsi/targets/st_conf.c /sys/scsi/targets/st_conf.c.orig
>
> 2) Add the following entry to the /sys/scsi/targets/st_conf.c file:
>
> /* Archive Python 4mm 2GB drive */
> {
> "Archive Python 4mm Helical Scan", /* name */
> 14, "ARCHIVE Python", /* vendor id */
> ST_TYPE_PYTHON, /* type */
> 1024, /* block size */
> (ST_VARIABLE | /* options - variable records */
> ST_BSF | /* - backspace file */
> ST_BSR | /* - backspace record */
> ST_AUTODEN_OVERRIDE | /* - auto-density device */
>
> ST_LONG_ERASE), /* - long erase */
> 5000, 5000, /* max retries: read/write */
> { 0x00, 0x8C, 0x8C, 0x8C }, /* density codes */
> { 0, 0, 0, 0 } /* speed codes */
> },
>

All of the above info except for ST_AUTODEN_OVERRIDE was already in the
file for the 4.1.3_U1 kernel. We added it.

> 3) cp /sys/scsi/targets/stdef.h /sys/scsi/targets/stdef.h.orig
>
> 4) Add the following line to /sys/scsi/targets/stdef.h:
>
>
> #define ST_TYPE_PYTHON 0x2c /* Archive Python DAT */
>

Already there.

> 5) cp /sys/scsi/targets/mtio.h /sys/scsi/targets/mtio.h.orig
>

This file was actually in /sys/sys.

> 6) Add the following line to /sys/scsi/targets/mtio.h:
>
>
> #define MT_ISPYTHON 0x2c /* sun: SCSI Archive Python DAT */
>

Already there.

> 7) Build a new kernel
>
> 8) mv /vmunix /vmunix.bak
>
> 9) Move the new kernel to /vmunix
>
> 10) reboot
>
> 11) If problems occur with the new kernel, boot from the backup kernel

---------------------------------------------------------------------------------

As for the dump command, you might try:

dump 0ubsdf 126 26000 54000 /dev/rst16

(provided your drive is on SCSI target 4)

---------------------------------------------------------------------------------

          Regarding the 5GB DAT tape, I can tell you it works fine under
SunOS 4.1.3_U1. For example, if you want to make a backup of your partitions,
use these options :

# dump 0dsbfu 54000 13000 126 /dev/rst8 /dev/rsd0a

          You need to specify /dev/rst8 for High density.

---------------------------------------------------------------------------------

I have a Sun 5Gb dat drive on 4.1.3 on a SS2.

You must remember that

/dev/nrst1 - is the non compressed 2Gb density
/dev/nrst8 - is the compressed density, but you won't manage to get
              more than ~3.2Gb on the dat tape (90 metres).

---------------------------------------------------------------------------------
alfred
Internet: Alfred.Correira@unisql.com
    UUCP: cs.utexas.edu!unisql!Alfred.Correira



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:16 CDT