[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ssag::ask_ssag

Title:Ask the Storage Architecture Group
Notice:Check out our web page at http://www-starch.shr.dec.com
Moderator:SSAG::TERZAN
Created:Wed Oct 15 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6756
Total number of notes:25276

6527.0. "Yes, "R.T.F.M.", but WHICH "F.M."?" by DABEAN::REED () Fri Mar 28 1997 06:21

    Hello, all-
    
    This is a Sanity Check Request. I installed a TLZ7L-VA as a replacement
    for a malfunctioning drive, and the customer and I gave it a check test
    which it seemed to pass without error. I got a call yesterday from the
    customer saying that the device and the loader are still error-free,
    but that data compression doesn't seem to be working. The backups which
    used to require two tapes now require four, and the customer never sees
    the "compresssion" LED come on. He maintains that he has not changed
    his B/U script, and also that he has tried the xxxx/media=compact
    commands interactively without seeing the compress light go on. 
    
    I have ordered a TLZ7L-VA but I wanted to run this by the experts
    (that's YOU) because of documentation inconsistencies. I have run into
    this before with other -VA tapes; the User Guide that is shipped with
    the -VA options describes the standalone option vs the STORAGEWORKS
    piece. There is a "SBB User Guide" blow-in which covers STORAGEWORKS
    disks and tapes in general, without specific reference to individual
    options. Confusion can (thus, will) result because the DIP switches on
    the back of the tape options are assigned different duties. The desktop
    options have a DIP switch for Compaction Enable/Disable, while the -VA
    part has only six of the eight switches used, three which must be set
    the same as each other to enable/disable auto SCSI addressing based on
    shelf location, and three of which set the SCSI address if auto adrs is
    disabled. According to the SBB User Guide leaflet, the other two
    switches are INACTIVE on -VA tapes. The "TLZ07 Cassette Tape Drive and
    Autoloader Owner's Manual" describe switch 6 as "Compression". (Which,
    interestingly, is ON when DISABLED. Nice ergonomics, guys!)
    
    So, am I dealing with a D.O.A. TLZ7L-VA, or am I a victim of the
    dreaded "Hardcopy Documentation Lag"? (the SBB User's Guide which came
    with the spare TLZ7L-VA is dated June 1996; the TLZ07 user guide which
    came with it is from May 1994.) When I swapped the drive, I copied the
    previous switch settings which is USUALLY safe to do unless there was
    a change in switch function between production of the original (failed)
    piece and the currently-installed (non-compacting) one.
    
    Chris Reed MCS E. Prov., RI (PVO) 
T.RTitleUserPersonal
Name
DateLines
6527.1Try reading them all.... LEFTY::CWILLIAMSCD or not CD, that's the questionFri Mar 28 1997 08:1018
    The switches available on the SBB and the switches available on the
    TLZ07 or TLZ7L are completely different switches, and have -nothing- to
    do with each other. Nothing.
    
    The docs for the -VA are accurate. The docs for the drive are also
    accurate, except for the minor detail that -none- of the drive switches
    are accessible from the outside of the SBB. They don't need to be.
    
    The drive switches set drive defaults. O'VMS overrides those defaults.
    It is highly unlikely that internal drive switch settings have anything
    to do with your problem. 
    
    We've been shipping StorageWorks for years now - the differentiation
    between SBB switches and drive switches has been beaten to death in the
    docs, training, and notes for all that time.... 
    
    Chris
    
6527.2Thanks from Behind the CurveDABEAN::REEDFri Mar 28 1997 11:157
    Thank you for your prompt and authoritative reply, and apologies
    for my ignorance. We in the field tend to know and learn what we
    have to, and until quite recently I have needed to be an RA82/
    TA78 guru; now I have TWO TLZ7L's in my account base. Times are
    changing! (Now if I could get rid of that DECService LP14...)
    
    CR
6527.3Still a Few QuestionsFREEBE::REEDFri Mar 28 1997 16:3139
    Well, I just returned from the customer site and I'm afraid I must
    disagree with some of Mr. Williams' reply (.1). My new replacement 
    behaved the same way the original replacement did, so we were forced
    to experiment (as we often are in the field.) The drive works groovy
    now. re: 6527.1:
    
    "The docs for the -VA are accurate..."
    	(yeah, as far as they go.)
    "The docs for the drive are also accurate, except for the minor detail
    that -none- of the drive switches are accessible from the outside of
    the SBB..."
    	(Look again. An 8-switch DIP pack on the drive itself, not as sub-
       	miniature as the SBB switches, plainly visible and configurable.)
    "They don't need to be."
    	(..unless you want data compression. Read on.)
    "O'VMS overrides those defaults."
    	(Not by any means or agency the customer and I were able to find.
   	 The old drive compressed, my spare didn't. No S/W changes.)
    "It is highly unlikely that internal drive switch settings have
    anything to do with your problem."
    	(SET *DRIVE* SWITCH 6 OFF and enable compression...or disable lack of
   	 compression if you prefer.) {See .0 on ergonomics.}
    	(It may be "highly unlikely" but it fixed MY problem.)
    "the differentiation between SBB switches and drive switches has been
    beaten to death in the docs, training, and notes..."
    	(Maybe so, but nowhere in the docs does it say that if you buy this
    data-compression-capable option, the default setting is compression
    DISABLED, and to get what you paid for you must set a switch which you
    are not supposed to touch. Or even look for.)
    
    It appears to be the basic "unless you mean" situation: never touch the
    drive switches on an SBB, unless you mean the compression disable
    switch, which must be set OFF if you want data compression. I would
    address these questions offline except that Mr. Williams' counsel was
    made available to all, and it appears to me that some of it may be
    incorrect. I hope that by staying with the ASK_SSAG forum we can avoid
    some problems in the field.
    
    Chris Reed MCS East Providence, RI
6527.4Something else is wrong...LEFTY::CWILLIAMSCD or not CD, that's the questionMon Mar 31 1997 09:2422
    Since the first time we put Compression into the DAT drives, OVMS has
    overridden the default setting on directly connected busses.
    The only exception is when connected to HSx controllers (which, by the
    way, is an unsupported configuration, per the HSx folks...), where
    compression has to be set from the HSx console.
    
    If it is not doing that, OVMS has a bug. Check for patches - OVMS has
    had a lot of trouble getting the compression control code implemented.
    If no patches are available for your version, IPMT it.
    
    I stand by all the comments in my previous note. They are accurate,
    when OVMS is working the way that it is supposed to. If the switches on
    the TLZ7L drive happen to be accessible from the outside, it's not by
    design. You are not supposed to ever have to get to them. 
    
    You -are- using the /Media_format=compaction switch, no? On Init,
    Mount, Backup, etc?
    
    Chris Williams
    Tape and Optical Engineering 
    ex- TLZ04, TLZ06/6L engineer
    
6527.5COOKIE::FROEHLINVMS...riding into the setting sun!Mon Mar 31 1997 14:436
    I'm confused to where the compression switch is in this discussion but
    it no /MEDIA is specified OleVMS uses CURRENT compression. To really be
    sure about compression the BACKUP command should include /MEDIA=COMPACT 
    AND /REWIND. 
    
    Guenther
6527.6Sounds Like BingoDABEAN::REEDMon Mar 31 1997 16:5919
    .4 has the key here. The TLZ7L in question is NOT on a directly-
    connected bus. It is on an HSD10. As it says in .2, "Read ALL of them."
    I didn't have the imagination or experience to know that compression
    was affected when the STGWKS device is not on a native bus.
    
    Fortunately, setting Switch 6 OFF seems not to have broken anything. I
    will talk with the customer and schedule one more session to RE-set the
    switch and make changes to the HSD setup parameters; I think he will
    accede to this in the interest of uniformity, especially since he can
    use the current setup as a fallback in case there are even more factors
    I've overlooked. Since the H/W config is unsupported (sold, but
    unsupported) I will be alert for funny behavior.
    
    For the record, I did search this notesfile for the TLZ7L-VA and
    COMPRESSION strings, but I only went back to Note 4xxx. (I've only known
    of ASK_SSAG for a few months, and with 6500-plus notes I have a lot of
    catching up to do. Sorry to have shed heat vs light on the situation.)
    
    CR
6527.7Cleanup of Previous ReplyDABEAN::REEDMon Mar 31 1997 17:0911
    re: -.1:
    
    where I said ".2" I meant ".1". Also, yes, we used the proper commands
    and qualifiers to invoke Compaction. They work as intended now with
    hardware switch 6 on the back of the drive OFF and the switch pack on
    the back of the SBB set up per the Storageworks leaflet shipped with
    the drive (SCSI target 5 regardless of Storageworks slot, in our case.)
    
    As I mentioned above I will lobby the customer to try to do this with
    the standard H/W config in order to reduce the chance of a similar
    adventure on an afterhours call with a different F.E.
6527.8LEFTY::CWILLIAMSCD or not CD, that's the questionThu Apr 03 1997 09:1914
    One other caveat on all this: While with many tapes OVMS will use the
    current compression state of the tape to do appends, this is -not- the
    case with any of the DAT tapes, at least on direct connects. The OVMS
    drivers don't seem to ask the drive about the compression state. If
    compression is specifed, it compresses. If not, it does not. Omitting
    the switch defaults the drive back to uncompressed.
    
    This can lead to some rather interesting mixed
    compression/non-compression tapes. The drive could care less, however
    (by design!) - it will just decompress anything that needs to be on
    reads. Best to physically mark the tapes, if you want to avoid this...
    
    Chris