tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY Density SDLT
@ 2001-08-31 21:13 Alexander Ordonez
  0 siblings, 0 replies; only message in thread
From: Alexander Ordonez @ 2001-08-31 21:13 UTC (permalink / raw)
  To: tru64-unix-managers


thanks, John Francini

This work fine!!!!!


Interestingly, there was a service advisory about this that just came =
by a
couple of days ago in my e-mail.  It describes how to edit the DDR =
table to
support the drive.  The relevant instructions are as follows:

The human-readable version of the DDR database resides in the file
/etc/ddr.dbase.

As root, edit the file with a text editor, such as vi or Emacs.  First, =
find
the string (near the beginning) that says:

        scsi_density_table_size =3D 0x42

and change it to read:

        scsi_density_table_size =3D 0x49

Locate the actual density table, which is a bit further down in the =
file.
After the last entry, which should begin "scsi_tape_density[0x41]", add =
the
following lines:

        scsi_tape_density[0x42] =3D "density_code_42" 0 0
scsi_tape_density[0x43] =3D "density_code_43" 0 0
scsi_tape_density[0x44] =3D "density_code_44" 0 0
scsi_tape_density[0x45] =3D "density_code_45" 0 0
scsi_tape_density[0x46] =3D "density_code_46" 0 0
scsi_tape_density[0x47] =3D "density_code_47" 0 0
        scsi_tape_density[0x48] =3D "131000_bpi" 131000 0

I've indented them for clarity; don't indent them in the ddr.dbase =
file.

Now you need to add the actual SCSI Device Data for the SDLT drive to =
the
table.  To do this:

1. Locate the "DEVICE DATA" section of the DDR table.

2. Below that, locate the "TAPES:" section of the device data. Before =
the
first existing SCSIDEVICE entry (but after the comment block describing =
the
entry format), add the following entry:


        SCSIDEVICE
      #
       # Matches SuperDLT1
     #
       Type =3D tape
     Name =3D "COMPAQ" "SuperDLT1"
     #
       #
       PARAMETERS:
     TypeSubClass =3D tk
       TagQueueDepth =3D 0
       MaxTransferSize =3D 0x0ffffff # (16MB - 1)
        ReadyTimeSeconds =3D 120 # seconds
        DENSITY:
        #
       DensityNumber =3D 0,2 # rmt*l, rmt*m
      DensityCode =3D default
   CompressionCode =3D 0x0
   Buffered =3D 0x1
  DENSITY:
        #
       DensityNumber =3D 1,3 # rmt*h, rmt*a
      DensityCode =3D default
   CompressionCode =3D 0x1
        Buffered =3D 0x1


Again, do not indent the lines in the file; I've indented them for
readability.

Save the file and exit.

Now you need to re-create the ddr.db file (the binary device data
recognition database) using ddr_config(8) as follows:

        # ddr_config -c

ddr_config is described in the Tru64 system admin manual, and is also
documented in a man page.=20

You should now be able to use the tape drive without seeing any =
messages on
the console or in the /var/adm/messages file.


@lex
------------------------------------------------------------
  Lic. Alexander Ord=F3=F1ez Arroyo=20
  Caja Costarricense del Seguro Social                            =20
  Soporte T=E9cnico - Divisi=F3n de Inform=E1tica                    =20
  Telefono: 295-2004, San Jos=E9, Costa Rica                   =20
  Aordonez@ccss.sa.cr        Icq# 30173325

------------------------------------------------------------
The true is out there in WWW

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-31 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-31 21:13 SUMMARY Density SDLT Alexander Ordonez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox