<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic No Compression, DDS-3 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815917#M85491</link>
    <description>All,&lt;BR /&gt;&lt;BR /&gt;I'm having a problem with tape compression on a D330.  Actually, it looks&lt;BR /&gt;like I'm not getting any compression.  I have two D330's, both with the&lt;BR /&gt;same hardware configuration.  Both have a total of approximately 20 Gb of&lt;BR /&gt;disk space used.  One server will fit a full ( fbackup ) backup onto one&lt;BR /&gt;DDS-3 tape but the other server goes to two DDS-3 tapes.  Looking at the&lt;BR /&gt;stderr from fbackup, the tape swap comes at about half-way through the&lt;BR /&gt;backup.  It's not just the last few files rolling over onto the second&lt;BR /&gt;tape, about half the data goes on the second tape.&lt;BR /&gt;&lt;BR /&gt;I have two tape drives that I have interchanged between these servers.&lt;BR /&gt;One is a Single DDS-3:&lt;BR /&gt;&lt;BR /&gt;8/16/5.1.0               tape      HP      C1537A SureStore DAT24&lt;BR /&gt;&lt;BR /&gt;The other is a DDS-3 AutoLoader:&lt;BR /&gt;&lt;BR /&gt;8/16/5.1.0               tape      HP      C1557A SureStore DAT24x6&lt;BR /&gt;&lt;BR /&gt;I get the same results with both drives on either server.  I have, of&lt;BR /&gt;course, tried new tapes.  And I have ensured the tapes are rewound before&lt;BR /&gt;the backup starts.  The backup in question is a full/cold/weekly backup&lt;BR /&gt;where the Oracle database has been cleanly shutdown and there is no&lt;BR /&gt;activity on the system.  I have increased the "blocksperrecord" and&lt;BR /&gt;decreased the "maxretries" in /etc/sam/br/fbackup_config:&lt;BR /&gt;&lt;BR /&gt;Original /etc/sam/br/fbackup_config:&lt;BR /&gt;&lt;BR /&gt;flo1q05 /etc/sam/br # cat fbackup_config.20020915&lt;BR /&gt;blocksperrecord    32&lt;BR /&gt;records            32&lt;BR /&gt;checkpointfreq     32&lt;BR /&gt;readerprocesses    2&lt;BR /&gt;maxretries         5&lt;BR /&gt;retrylimit         5000000&lt;BR /&gt;maxvoluses         100&lt;BR /&gt;&lt;BR /&gt;Current /etc/sam/br/fbackup_config:&lt;BR /&gt;&lt;BR /&gt;flo1q05 /etc/sam/br # cat fbackup_config&lt;BR /&gt;blocksperrecord    128                  &lt;BR /&gt;records            32                   &lt;BR /&gt;checkpointfreq     32                   &lt;BR /&gt;readerprocesses    2                    &lt;BR /&gt;maxretries         1                    &lt;BR /&gt;retrylimit         5000000              &lt;BR /&gt;maxvoluses         100                  &lt;BR /&gt;&lt;BR /&gt;Both /etc/sam/br/fbackup_config files had a "chgvol" entry when the&lt;BR /&gt;AutoLoader was attached:&lt;BR /&gt;&lt;BR /&gt;chgvol             /etc/sam/br/chgvol&lt;BR /&gt;&lt;BR /&gt;The "AutoLoader Options" on the DAT24x6 is set at 7.  But I have the&lt;BR /&gt;problem even when using the single drive DAT24.&lt;BR /&gt;&lt;BR /&gt;The server experiencing the compression problem is a "make_tape_recovery"&lt;BR /&gt;clone of the "good" server.  I have manually removed the special files&lt;BR /&gt;associated with the external tape drive:&lt;BR /&gt;&lt;BR /&gt;rmsf -v -H 8/16/5.1.0&lt;BR /&gt;&lt;BR /&gt;and then reboot the server to ensure that the proper device files&lt;BR /&gt;are built.  I have tried using both /dev/rmt/1m and /dev/rmt/c2t1d0BEST&lt;BR /&gt;as device files.  The fbackup first goes to the external drive,&lt;BR /&gt;/dev/rmt/c2t1d0BEST, and then to the internal drive.&lt;BR /&gt;&lt;BR /&gt;I have reached the limits of my knowledge of what to do to resolve this&lt;BR /&gt;( lack of ) compression problem.  Does anyone have any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 30 Sep 2002 12:41:19 GMT</pubDate>
    <dc:creator>Tom Dawson</dc:creator>
    <dc:date>2002-09-30T12:41:19Z</dc:date>
    <item>
      <title>No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815917#M85491</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I'm having a problem with tape compression on a D330.  Actually, it looks&lt;BR /&gt;like I'm not getting any compression.  I have two D330's, both with the&lt;BR /&gt;same hardware configuration.  Both have a total of approximately 20 Gb of&lt;BR /&gt;disk space used.  One server will fit a full ( fbackup ) backup onto one&lt;BR /&gt;DDS-3 tape but the other server goes to two DDS-3 tapes.  Looking at the&lt;BR /&gt;stderr from fbackup, the tape swap comes at about half-way through the&lt;BR /&gt;backup.  It's not just the last few files rolling over onto the second&lt;BR /&gt;tape, about half the data goes on the second tape.&lt;BR /&gt;&lt;BR /&gt;I have two tape drives that I have interchanged between these servers.&lt;BR /&gt;One is a Single DDS-3:&lt;BR /&gt;&lt;BR /&gt;8/16/5.1.0               tape      HP      C1537A SureStore DAT24&lt;BR /&gt;&lt;BR /&gt;The other is a DDS-3 AutoLoader:&lt;BR /&gt;&lt;BR /&gt;8/16/5.1.0               tape      HP      C1557A SureStore DAT24x6&lt;BR /&gt;&lt;BR /&gt;I get the same results with both drives on either server.  I have, of&lt;BR /&gt;course, tried new tapes.  And I have ensured the tapes are rewound before&lt;BR /&gt;the backup starts.  The backup in question is a full/cold/weekly backup&lt;BR /&gt;where the Oracle database has been cleanly shutdown and there is no&lt;BR /&gt;activity on the system.  I have increased the "blocksperrecord" and&lt;BR /&gt;decreased the "maxretries" in /etc/sam/br/fbackup_config:&lt;BR /&gt;&lt;BR /&gt;Original /etc/sam/br/fbackup_config:&lt;BR /&gt;&lt;BR /&gt;flo1q05 /etc/sam/br # cat fbackup_config.20020915&lt;BR /&gt;blocksperrecord    32&lt;BR /&gt;records            32&lt;BR /&gt;checkpointfreq     32&lt;BR /&gt;readerprocesses    2&lt;BR /&gt;maxretries         5&lt;BR /&gt;retrylimit         5000000&lt;BR /&gt;maxvoluses         100&lt;BR /&gt;&lt;BR /&gt;Current /etc/sam/br/fbackup_config:&lt;BR /&gt;&lt;BR /&gt;flo1q05 /etc/sam/br # cat fbackup_config&lt;BR /&gt;blocksperrecord    128                  &lt;BR /&gt;records            32                   &lt;BR /&gt;checkpointfreq     32                   &lt;BR /&gt;readerprocesses    2                    &lt;BR /&gt;maxretries         1                    &lt;BR /&gt;retrylimit         5000000              &lt;BR /&gt;maxvoluses         100                  &lt;BR /&gt;&lt;BR /&gt;Both /etc/sam/br/fbackup_config files had a "chgvol" entry when the&lt;BR /&gt;AutoLoader was attached:&lt;BR /&gt;&lt;BR /&gt;chgvol             /etc/sam/br/chgvol&lt;BR /&gt;&lt;BR /&gt;The "AutoLoader Options" on the DAT24x6 is set at 7.  But I have the&lt;BR /&gt;problem even when using the single drive DAT24.&lt;BR /&gt;&lt;BR /&gt;The server experiencing the compression problem is a "make_tape_recovery"&lt;BR /&gt;clone of the "good" server.  I have manually removed the special files&lt;BR /&gt;associated with the external tape drive:&lt;BR /&gt;&lt;BR /&gt;rmsf -v -H 8/16/5.1.0&lt;BR /&gt;&lt;BR /&gt;and then reboot the server to ensure that the proper device files&lt;BR /&gt;are built.  I have tried using both /dev/rmt/1m and /dev/rmt/c2t1d0BEST&lt;BR /&gt;as device files.  The fbackup first goes to the external drive,&lt;BR /&gt;/dev/rmt/c2t1d0BEST, and then to the internal drive.&lt;BR /&gt;&lt;BR /&gt;I have reached the limits of my knowledge of what to do to resolve this&lt;BR /&gt;( lack of ) compression problem.  Does anyone have any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Sep 2002 12:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815917#M85491</guid>
      <dc:creator>Tom Dawson</dc:creator>
      <dc:date>2002-09-30T12:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815918#M85492</link>
      <description>Tom, &lt;BR /&gt;&lt;BR /&gt;the problem sounds really weird. I would start trouble-shooting using the "tapeinfo" tool which can be used to dump compression statistics of tape drives. It typically shows what amount of data went via SCSI to DC and what from DC to media. &lt;BR /&gt;&lt;BR /&gt;Please let me know if you need this tool.&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Mon, 30 Sep 2002 12:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815918#M85492</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-09-30T12:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815919#M85493</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Is it possible to swap the two drives to get an idea if it is a drive or configuration problem.</description>
      <pubDate>Mon, 30 Sep 2002 12:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815919#M85493</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2002-09-30T12:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815920#M85494</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Are the servers backing up identical data?  What is the "good" server backing up?&lt;BR /&gt;&lt;BR /&gt;Vince</description>
      <pubDate>Mon, 30 Sep 2002 13:03:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815920#M85494</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2002-09-30T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815921#M85495</link>
      <description>Actually this makes perfectr sense. The problem does not move with the tape drive but rather stays on the 'bad' server. The 'problem' is not really a problem but rather a characteristic of the data that you are trying to backup. A DDS3 tape has a native capacity of 12GB; the 24GB capacity ASSUMES a 2:1 compression ratio. The only capacity that you can depend on is the native capacity; anything over that is just 'gravy'. Some data will compress far more that 2:1 and other data might only compress 1.1:1 - it just depends. &lt;BR /&gt;&lt;BR /&gt;If you are using the cXtYdZBEST device node then that is instructing the drive to use compressed mode.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Sep 2002 13:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815921#M85495</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-09-30T13:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815922#M85496</link>
      <description>Hi&lt;BR /&gt;I agree with Clay in that compression ratio is hightly data dependant but it seems strange, if Tom is right, he get almost no compression at all. I assume the data on the disk is not already compressed. Even with my "worst" data I get at least a 1.3-1 compression ratio.</description>
      <pubDate>Mon, 30 Sep 2002 13:39:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815922#M85496</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2002-09-30T13:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815923#M85497</link>
      <description>I had a similar event occur just recently. It turned out the tape drive itself was having errors. This causes the system to re-position the tape and writing blocks multiple times.&lt;BR /&gt;&lt;BR /&gt;This made it appear that compression wasn't going on.&lt;BR /&gt;&lt;BR /&gt;Check your&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 30 Sep 2002 13:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815923#M85497</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-09-30T13:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815924#M85498</link>
      <description>Data compression seems to be the key here... that's why I recommend dumping the DDS internal statistics using tapeinfo. You get all needed info at once.&lt;BR /&gt;&lt;BR /&gt;Example output:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;           Data Retrieved from Drive Compression Logs&lt;BR /&gt;             Kbytes to DC                 =  581483&lt;BR /&gt;             Kbytes from DC               =  596966&lt;BR /&gt;             Kbytes to Tape               =  325867&lt;BR /&gt;             Kbytes from Tape             =  341350&lt;BR /&gt;             Compression ratio (Read)     =  1.75 : 1&lt;BR /&gt;             Compression ratio (Write)    =  1.78 : 1</description>
      <pubDate>Mon, 30 Sep 2002 13:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815924#M85498</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-09-30T13:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815925#M85499</link>
      <description>Dietmar,&lt;BR /&gt;&lt;BR /&gt;Thanks, I do have the tapeinfo tool and I've found its' documentation at docs.hp.com.  When I tried to execute it, I was asked to install a license.  Is this licenses software?  I had the impression it was part of the STM suite.&lt;BR /&gt;&lt;BR /&gt;Leif,&lt;BR /&gt;&lt;BR /&gt;As I've been testing this scenario over the past two months, I've swapped the drives back and forth many times.  The problem stays with the "bad" server.&lt;BR /&gt;&lt;BR /&gt;Vincent,&lt;BR /&gt;&lt;BR /&gt;The "bad" server is a production server and the "good" server is an acceptance server for the same Oracle DB/Application.  The data on the acceptance server was actually copied from the production server a few months ago.  Over time it has certainly changed, and log file growth is different.  But basically, they have the same db files.&lt;BR /&gt;&lt;BR /&gt;Clay,&lt;BR /&gt;&lt;BR /&gt;Thanks, but as I mentioned above, the data ( at least the data structure ) is about the same on both servers.  The Oracle dbf files are static, so we don't see growth in that area.  Obviously, the data within the dbf files changes/grows.  I do see significant compression on the "good" server, so I still feel I should be seeing at least some compression on the "bad" server.&lt;BR /&gt;&lt;BR /&gt;I'll experiment with tapeinfo as time permits this week.  And I'll post an update to let everyone know what I find.&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Sep 2002 17:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815925#M85499</guid>
      <dc:creator>Tom Dawson</dc:creator>
      <dc:date>2002-09-30T17:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: No Compression, DDS-3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815926#M85500</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;Tapeinfo helped me find the real problem.  Using tapeinfo&lt;BR /&gt;through the week on incremental backups, I found that I&lt;BR /&gt;was actually getting less that 1:1 compression at the&lt;BR /&gt;tape drive!  Then I ran a full backup on Saturday, running&lt;BR /&gt;tapeinfo before the backup to clear the compression stats&lt;BR /&gt;and then running it again after the backup to capture the&lt;BR /&gt;compression stats:&lt;BR /&gt;&lt;BR /&gt;2002-10-05 10:35:34 tapeinfo - after fbackup    &lt;BR /&gt;Manufacturer                   =  HP            &lt;BR /&gt;Product Id                     =  C1537A        &lt;BR /&gt;Product Revision Level         =  L812          &lt;BR /&gt;Manufacturing Date Code        =     9          &lt;BR /&gt;                                                &lt;BR /&gt;                                                &lt;BR /&gt;Data Retrieved from Drive Capacity Logs (kBytes)&lt;BR /&gt;  Max Capacity Partition 0     =  11704284      &lt;BR /&gt;  Rem Capacity Partition 0     =  0             &lt;BR /&gt;  Max Capacity Partition 1     =  0             &lt;BR /&gt;  Rem Capacity Partition 1     =  0             &lt;BR /&gt;                                                &lt;BR /&gt;Data Retrieved from Drive Compression Logs      &lt;BR /&gt;  Kbytes to DC                 =  17656900      &lt;BR /&gt;  Kbytes from DC               =  0             &lt;BR /&gt;  Kbytes to Tape               =  11882728      &lt;BR /&gt;  Kbytes from Tape             =  0             &lt;BR /&gt;  Compression ratio (Read)     =  n/a           &lt;BR /&gt;  Compression ratio (Write)    =  1.49 : 1&lt;BR /&gt;&lt;BR /&gt;1.49:1 is okay, but not what I expect.&lt;BR /&gt;&lt;BR /&gt;I ran similar backups on my other servers and got compression&lt;BR /&gt;stats of better than 2:1.  So some research found my real&lt;BR /&gt;problem.  Our DBA has been taking exports of the Oracle data-&lt;BR /&gt;base each night and compressing them ( no problem there... ).&lt;BR /&gt;And then as we run the weekly full backup, he copies all the&lt;BR /&gt;dbf files and compresses them ( again, I don't have a problem&lt;BR /&gt;with that ).  But it appears he doesn't delete them!  I had&lt;BR /&gt;compressed export and dbf files going back more than two&lt;BR /&gt;months.  About 40% of the data on the server was in the form&lt;BR /&gt;of compressed files.  Consequently, those files will not&lt;BR /&gt;obtain much compression at the tape drive.  So, on Sunday I&lt;BR /&gt;ran a full backup skipping the directories that contain all&lt;BR /&gt;the compressed files.  I then ran tapeinfo after that backup&lt;BR /&gt;and got the following compression stats:&lt;BR /&gt;&lt;BR /&gt;2002-10-06 04:19:14 tapeinfo - after fbackup&lt;BR /&gt;Manufacturer                   =  HP&lt;BR /&gt;Product Id                     =  C1537A&lt;BR /&gt;Product Revision Level         =  L812&lt;BR /&gt;Manufacturing Date Code        =     9&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Data Retrieved from Drive Capacity Logs (kBytes)&lt;BR /&gt;  Max Capacity Partition 0     =  11624031&lt;BR /&gt;  Rem Capacity Partition 0     =  11622047&lt;BR /&gt;  Max Capacity Partition 1     =  0&lt;BR /&gt;  Rem Capacity Partition 1     =  0&lt;BR /&gt;&lt;BR /&gt;Data Retrieved from Drive Compression Logs&lt;BR /&gt;  Kbytes to DC                 =  12246354&lt;BR /&gt;  Kbytes from DC               =  3&lt;BR /&gt;  Kbytes to Tape               =  4432244&lt;BR /&gt;  Kbytes from Tape             =  0&lt;BR /&gt;  Compression ratio (Read)     =  n/a&lt;BR /&gt;  Compression ratio (Write)    =  2.76 : 1&lt;BR /&gt;Manufacturer                   =  HP&lt;BR /&gt;&lt;BR /&gt;So now I just need to get with the DBA and coordinate a&lt;BR /&gt;schedule for removing these compressed files on a regular&lt;BR /&gt;basis.&lt;BR /&gt;&lt;BR /&gt;The tapeinfo that was installed on my 11.11 system required&lt;BR /&gt;a license.  HP Support provided a copy of tapeinfo that does&lt;BR /&gt;not require a license.  I've attached the shar file.  It is&lt;BR /&gt;freely distributable.&lt;BR /&gt;&lt;BR /&gt;Thanks to all for your help,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Oct 2002 11:05:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-compression-dds-3/m-p/2815926#M85500</guid>
      <dc:creator>Tom Dawson</dc:creator>
      <dc:date>2002-10-07T11:05:37Z</dc:date>
    </item>
  </channel>
</rss>

