Veritas-bu

[Veritas-bu] Re: LTO2 st.conf lines

2004-06-29 09:49:08
Subject: [Veritas-bu] Re: LTO2 st.conf lines
From: michael.thomson AT orange.co DOT uk (michael.thomson AT orange.co DOT uk)
Date: Tue, 29 Jun 2004 14:49:08 +0100
Hi Samuel

I too had problems with LTO-2 drive definitions. After protracted wrangling
between StorageTek, IBM and Sun, here's what I'm using in my /kernel/drv/st.conf
files:

tape-config-list =
"IBM     ULTRIUM-TD1", "IBM Ultrium Gen 1 LTO-custom", "IBM-LTO1",
"IBM     ULTRIUM-TD2", "IBM Ultrium Gen 2 LTO-custom", "IBM-LTO2";

IBM-LTO1       = 1, 0x3B, 0,  0x19639, 4, 0x40, 0x40, 0x40, 0x40, 3;
IBM-LTO2       = 1, 0x3B, 0,  0x19639, 4, 0x40, 0x40, 0x42, 0x42, 3;

And if anyone is interested, here's what it all means!

1         version number (1 or 2)
0x3B      type (see /usr/include/sys/mtio.h)
0         preferred block size (0=variable)
0x19639   options (bit pattern, for details see
/usr/include/sys/scsi/targets/stdef.h)
          0x19639 contains the flags marked (*), any gaps left as an exercise
for the student... :-)
          0x000001  *    ST_VARIABLE
          0x000002       ST_QIC
          0x000004       ST_REEL
          0x000008  *    ST_BSF
          0x000010  *    ST_BSR
          0x000020  *    ST_LONG_ERASE
          0x000040       ST_AUTODEN_OVERRIDE
          0x000080       ST_NOBUF
          0x000200  *    ST_KNOWS_EOD
          0x000400  *    ST_UNLOADABLE
          0x000800       ST_SOFT_ERROR_REPORTING
          0x001000  *    ST_LONG_TIMEOUTS
          0x008000  *    ST_NO_RECSIZE_LIMIT
          0x010000  *    ST_MODE_SEL_COMP
          0x020000       ST_NO_RESERVE_RELEASE
          0x040000       ST_READ_IGNORE_ILI
          0x080000       ST_READ_IGNORE_EOFS
          0x100000       ST_SHORT_FILEMARKS
          0x200000       ST_EJECT_TAPE_ON_CHANGER_FAILURE
          0x400000       ST_RETRY_ON_RECOVERED_DEFERRED_ERROR
4         number of compression options
0x40      compression value 1
0x40      compression value 2
0x42      compression value 3
0x42      compression value 4
3         default compression option

Cheers
Mike



*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.

Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation.  Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.

Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************


<Prev in Thread] Current Thread [Next in Thread>