From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mike Broderick Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: tape drives won't h/w compress (5.1a+pk4) Date: Tue, 03 Jun 2003 18:36:46 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3EDD22FE.3070102@mit.edu> References: <3E971E51.5070102@mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1054679740 27056 80.91.224.249 (3 Jun 2003 22:35:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 22:35:40 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jun 04 00:35:38 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19NKMj-0006z0-00 for ; Wed, 04 Jun 2003 00:34:50 +0200 Original-Received: (qmail 12412 invoked by uid 5); 3 Jun 2003 22:36:55 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12391 invoked by uid 49493); 3 Jun 2003 22:36:55 -0000 Original-Received: from broderic@MIT.EDU by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-9.2/5.0):. Processed in 1.017935 secs); 03 Jun 2003 22:36:55 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 3 Jun 2003 22:36:54 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HFX00MPRG5AFR@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 Jun 2003 18:36:53 -0400 (EDT) Original-Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTPS id <0HFX00MO8G56SF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 Jun 2003 18:36:43 -0400 (EDT) Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by pacific-carrier-annex.mit.edu (8.12.4/8.9.2) with ESMTP id h53MafdL017633 for ; Tue, 03 Jun 2003 18:36:41 -0400 (EDT) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by grand-central-station.mit.edu (8.12.4/8.9.2) with ESMTP id h53Mafnc008688 for ; Tue, 03 Jun 2003 18:36:41 -0400 (EDT) Original-Received: from mit.edu (VBALL.MIT.EDU [18.94.0.87]) ) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id h53MaeU8021516 for ; Tue, 03 Jun 2003 18:36:40 -0400 (EDT) In-reply-to: <3E971E51.5070102@mit.edu> Original-To: tru64-unix-managers X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Xref: main.gmane.org gmane.os.tru64.managers:4418 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4418 The problem was I did not have an entry in the dynamic device recognition database (/etc/ddr.db*) for my specific tape drives (QUANTUM DLT7000). After adding them (edit /etc/ddr.dbase, then recompile with ddr_config -c) compresion worked. Note: You cannot compile the db once and push ddr.dbase/ddr.db to several systems (what I did first) as ddr_config apparently updates the kernel too. Why this worked before the upgrade but not after I'm not sure. My guess is the desired compression values were incorrectly hardcoded somewhere and that got "fixed" in the patch kit ...fixed for someone else, but broke for me who was inadvertantly relying on them :-) Thanks to all who replied (Alan Rollow, Dr Tom Blinn, Richard Loken, Adametz Bluejay, Bouzianis Kostas) Another interesting tidbits I learned is the device minor ID has a compresion bit etc: Tape: bbbbbbttttlllldddddr Disk: bbbbbbttttllllpppppp b - bus t - target l - lun d - density r - nowrewind p - partition But the catch is 'ls -l does not show the correct minor ID (a "cluster" gotcha). Use 'ls -lD' to see a device minor ID that folows the above convention. _Mike Mike Broderick wrote: > Our DLT7000 tape drives (DLT IV tapes, attached to several systems via > a SAN and in a StorageTek ATL) recently started filling up at half > their [h/w] compressed capacity recently. (Netbackup kicks them out > just before about 35GB.) It was first noticed on one tape and now all > tapes are only taking 35GB (We specify the tapeN_d1 device). We see > the same problem (out of tape) w/ a simple manual tar dump to tape of > about 40GB. It seems like h/w compression is no longer happening. We > manually loaded back on of the tapes and the compression light did not > come on. We thought we saw a strong correlation to upgrading to pk4 > from pk3 but alas the one system still at pk3 also does not compress > anymore either. We also backed down the drive f/w revs recently (to a > version we use in another environment that compresses fine). We are > checking w/ StorageTek for possible known issues with the firmware rev > (but unlikely since it works for us elsewhere). > > I've seen hints to a bit in the minor device ID that indicates > compression. > What bit is this? Is there some way (e.g., mt status? ddr_config?) to > query the device/drive from 5.1a and see if it is set for compression. > I've looked at output from these two commands but am not sure what I'm > looking for? > > _Mike >