Veritas-bu

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

2004-06-29 11:59:44
Subject: [Veritas-bu] Re: LTO2 st.conf lines
From: Scott.Chapman AT icbc DOT com (Chapman, Scott)
Date: Tue, 29 Jun 2004 08:59:44 -0700
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C45DF2.1889CF50
Content-Type: text/plain

Help!

It was my understanding that if a drive is supported by the OS, that you
don't need st.conf entries??  For solaris9:
(from 113277-10)
 
4774943 st driver holding mutex while calling delay is warlock err
4761337 st: st doesn't check Data Compression Capable before enabling Data
Compression
4756712 LTO-2 from IBM support required in native 'st' driver

Why would I need st.conf entries?!

Thanks!

_____________________________________________________
Scott Chapman
Enterprise Computing Technical Support
ICBC - Victoria
Phone: 250.414.7650  Fax: 250.978.8003  Cel: 250.213.9295


-----Original Message-----
From: michael.thomson AT orange.co DOT uk [mailto:michael.thomson AT orange.co 
DOT uk] 
Sent: Tuesday, June 29, 2004 6:49 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Re: LTO2 st.conf lines



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.
****************************************************************************
***

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

------_=_NextPart_001_01C45DF2.1889CF50
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] Re: LTO2 st.conf lines</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Help!</FONT>
</P>

<P><FONT SIZE=3D2>It was my understanding that if a drive is supported =
by the OS, that you don't need st.conf entries??&nbsp; For =
solaris9:</FONT>
<BR><FONT SIZE=3D2>(from 113277-10)</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>4774943 st driver holding mutex while calling delay =
is warlock err</FONT>
<BR><FONT SIZE=3D2>4761337 st: st doesn't check Data Compression =
Capable before enabling Data</FONT>
<BR><FONT SIZE=3D2>Compression</FONT>
<BR><FONT SIZE=3D2>4756712 LTO-2 from IBM support required in native =
'st' driver</FONT>
</P>

<P><FONT SIZE=3D2>Why would I need st.conf entries?!</FONT>
</P>

<P><FONT SIZE=3D2>Thanks!</FONT>
</P>

<P><FONT =
SIZE=3D2>_____________________________________________________</FONT>
<BR><FONT SIZE=3D2>Scott Chapman</FONT>
<BR><FONT SIZE=3D2>Enterprise Computing Technical Support</FONT>
<BR><FONT SIZE=3D2>ICBC - Victoria</FONT>
<BR><FONT SIZE=3D2>Phone: 250.414.7650&nbsp; Fax: 250.978.8003&nbsp; =
Cel: 250.213.9295</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: michael.thomson AT orange.co DOT uk [<A =
HREF=3D"mailto:michael.thomson AT orange.co DOT uk">mailto:michael.thomson@oran=
ge.co.uk</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, June 29, 2004 6:49 AM</FONT>
<BR><FONT SIZE=3D2>To: veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] Re: LTO2 st.conf lines</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Hi Samuel</FONT>
</P>

<P><FONT SIZE=3D2>I too had problems with LTO-2 drive definitions. =
After protracted wrangling</FONT>
<BR><FONT SIZE=3D2>between StorageTek, IBM and Sun, here's what I'm =
using in my /kernel/drv/st.conf</FONT>
<BR><FONT SIZE=3D2>files:</FONT>
</P>

<P><FONT SIZE=3D2>tape-config-list =3D</FONT>
<BR><FONT SIZE=3D2>&quot;IBM&nbsp;&nbsp;&nbsp;&nbsp; ULTRIUM-TD1&quot;, =
&quot;IBM Ultrium Gen 1 LTO-custom&quot;, &quot;IBM-LTO1&quot;,</FONT>
<BR><FONT SIZE=3D2>&quot;IBM&nbsp;&nbsp;&nbsp;&nbsp; ULTRIUM-TD2&quot;, =
&quot;IBM Ultrium Gen 2 LTO-custom&quot;, &quot;IBM-LTO2&quot;;</FONT>
</P>

<P><FONT SIZE=3D2>IBM-LTO1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 1, =
0x3B, 0,&nbsp; 0x19639, 4, 0x40, 0x40, 0x40, 0x40, 3;</FONT>
<BR><FONT SIZE=3D2>IBM-LTO2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 1, =
0x3B, 0,&nbsp; 0x19639, 4, 0x40, 0x40, 0x42, 0x42, 3;</FONT>
</P>

<P><FONT SIZE=3D2>And if anyone is interested, here's what it all =
means!</FONT>
</P>

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

<P><FONT SIZE=3D2>Cheers</FONT>
<BR><FONT SIZE=3D2>Mike</FONT>
</P>
<BR>
<BR>

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

<P><FONT SIZE=3D2>Monitoring/Viruses</FONT>
<BR><FONT SIZE=3D2>Orange may monitor all incoming and outgoing emails =
in line with current</FONT>
<BR><FONT SIZE=3D2>legislation.&nbsp; Although we have taken steps to =
ensure that this email and</FONT>
<BR><FONT SIZE=3D2>attachments are free from any virus, we advise that =
in keeping with good</FONT>
<BR><FONT SIZE=3D2>computing practice the recipient should ensure they =
are actually virus free.</FONT>
</P>

<P><FONT SIZE=3D2>Orange PCS Limited is a subsidiary of Orange SA and =
is registered in England No</FONT>
<BR><FONT SIZE=3D2>2178917, with its address at St James Court, Great =
Park Road, Almondsbury Park,</FONT>
<BR><FONT SIZE=3D2>Bradley Stoke, Bristol BS32 4QJ.</FONT>
<BR><FONT =
SIZE=3D2>***************************************************************=
****************</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist&nbsp; -&nbsp; =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C45DF2.1889CF50--

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