<?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 Re: How to enable compression on DAT under Linux ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896194#M3643</link>
    <description>I've been (ignorantly!) looking at this for a while too on a Dell 2500SC with DDS4 under RH7.3.&lt;BR /&gt;Albert's "mt -f /dev/st0 datcompression on" gives an unknown command "datcompress" - i.e. not supported by my mt binary. The "compression" argument returns nothing just like David's.&lt;BR /&gt;Many "setdensity" experiments later I'm still getting "density code 0x25 (DDS-3)" from "mt status".&lt;BR /&gt;No minor numbered devices available in /dev or from devices.txt.&lt;BR /&gt;I've ended up running tar with -z but I can't span tapes like that and my Oracle database on there will only keep growing...!&lt;BR /&gt;I'll rip the lid off sometime and compare jumpers with another 2500SC that's running NW6.1 that  I think is getting compressed.&lt;BR /&gt;More thoughts, anyone?</description>
    <pubDate>Wed, 05 Feb 2003 11:33:13 GMT</pubDate>
    <dc:creator>Tim Clarke</dc:creator>
    <dc:date>2003-02-05T11:33:13Z</dc:date>
    <item>
      <title>How to enable compression on DAT under Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896190#M3639</link>
      <description>I've searched a fair bit but can't seem to find an answer -&lt;BR /&gt;&lt;BR /&gt;How can I enable hardware compression on a 20/40GB DAT internal tape drive on a Compaq Proliant ML350 G3 running RH Linux 8.0 ? Linux says it's a Sony 10000 drive, /dev/st0 operates fine but mt compression/defcompression/density refuses to shift it from standard 20 GByte capacity on DDS-4 tape.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 04 Feb 2003 10:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896190#M3639</guid>
      <dc:creator>David Abbott</dc:creator>
      <dc:date>2003-02-04T10:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable compression on DAT under Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896191#M3640</link>
      <description>Umm, you'll find that that series of drives, the compression is usually ON.&lt;BR /&gt;&lt;BR /&gt;What does the following command return:&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/nst0 compression&lt;BR /&gt;&lt;BR /&gt;How much normal data can you put on the tape?&lt;BR /&gt;&lt;BR /&gt;Do you have 20+GB of data to test with?&lt;BR /&gt;&lt;BR /&gt;If not, just use the nst0 device, and put the same known-data-set on, over and over and see where it stops.&lt;BR /&gt;&lt;BR /&gt;If you're not putting already-compressed files on, you should get more than 20GB easily.  If they are already compressed, then you'll only get a bit over 20GB (if at all).&lt;BR /&gt;&lt;BR /&gt;DAT40i's we use generally only get 25-30GB onto a tape.&lt;BR /&gt;&lt;BR /&gt;The SDT10000 (which are very good drives) do about the same.&lt;BR /&gt;&lt;BR /&gt;If you are not getting more than 20GB, ever, you might want to tear it out, and double check that the compression is enabled (physically) on the device.&lt;BR /&gt;&lt;BR /&gt;It's a jumpered setting from memory.&lt;BR /&gt;&lt;BR /&gt;If you want more compression, try using a user-space compression (bzip2) to compress the stream before putting it to the tape.  If you are using something like 'tar' (-j flag) or 'cpio' (don't use -O, and pipe it), then you can do it easily.&lt;BR /&gt;&lt;BR /&gt;Most other commercial tools allow you to use software-compression also.</description>
      <pubDate>Tue, 04 Feb 2003 22:19:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896191#M3640</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-02-04T22:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable compression on DAT under Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896192#M3641</link>
      <description>I guess it's time to take out the drive + look at the settings, although as it's a pre-delivered internal drive I'd read that the default was harware-enabled.&lt;BR /&gt;&lt;BR /&gt;I'm definitely not getting more than 20GB - am doing uncompressed dumps which gives "end of tape detected" reliably at the ~20 GB mark.&lt;BR /&gt;&lt;BR /&gt;mt compression doesn't report anything, although I've used a tool called scu and it reports 20 GB capacity.&lt;BR /&gt;&lt;BR /&gt;using mt defcompression or compression with &amp;gt;0 args doesn't appear to do anything either.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Feb 2003 10:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896192#M3641</guid>
      <dc:creator>David Abbott</dc:creator>
      <dc:date>2003-02-05T10:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable compression on DAT under Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896193#M3642</link>
      <description>To set compression with mt use:&lt;BR /&gt;&lt;BR /&gt;mt -f &lt;DEVICEFILE&gt; datcompression on&lt;BR /&gt;&lt;BR /&gt;It might be that your tapedrive can be accessed in a certain mode by using a device file with another minor number. (See /usr/src/linux/Documentation/devices.txt     &lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Albert&lt;/DEVICEFILE&gt;</description>
      <pubDate>Wed, 05 Feb 2003 11:11:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896193#M3642</guid>
      <dc:creator>Albert Keizer</dc:creator>
      <dc:date>2003-02-05T11:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable compression on DAT under Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896194#M3643</link>
      <description>I've been (ignorantly!) looking at this for a while too on a Dell 2500SC with DDS4 under RH7.3.&lt;BR /&gt;Albert's "mt -f /dev/st0 datcompression on" gives an unknown command "datcompress" - i.e. not supported by my mt binary. The "compression" argument returns nothing just like David's.&lt;BR /&gt;Many "setdensity" experiments later I'm still getting "density code 0x25 (DDS-3)" from "mt status".&lt;BR /&gt;No minor numbered devices available in /dev or from devices.txt.&lt;BR /&gt;I've ended up running tar with -z but I can't span tapes like that and my Oracle database on there will only keep growing...!&lt;BR /&gt;I'll rip the lid off sometime and compare jumpers with another 2500SC that's running NW6.1 that  I think is getting compressed.&lt;BR /&gt;More thoughts, anyone?</description>
      <pubDate>Wed, 05 Feb 2003 11:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896194#M3643</guid>
      <dc:creator>Tim Clarke</dc:creator>
      <dc:date>2003-02-05T11:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable compression on DAT under Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896195#M3644</link>
      <description>Sorry, but I'm using the GNU version of mt.&lt;BR /&gt;&lt;BR /&gt;If the other device files are not available in /dev you can make them with mknod.&lt;BR /&gt;&lt;BR /&gt;the devices.txt file where I was referring to contains:&lt;BR /&gt;&lt;BR /&gt;  9 char        SCSI tape devices&lt;BR /&gt;                  0 = /dev/st0          First SCSI tape, mode 0&lt;BR /&gt;                  1 = /dev/st1          Second SCSI tape, mode 0&lt;BR /&gt;                    ...&lt;BR /&gt;                 32 = /dev/st0l         First SCSI tape, mode 1&lt;BR /&gt;                 33 = /dev/st1l         Second SCSI tape, mode 1&lt;BR /&gt;                    ...&lt;BR /&gt;                 64 = /dev/st0m         First SCSI tape, mode 2&lt;BR /&gt;                 65 = /dev/st1m         Second SCSI tape, mode 2&lt;BR /&gt;                    ...&lt;BR /&gt;                 96 = /dev/st0a         First SCSI tape, mode 3&lt;BR /&gt;                 97 = /dev/st1a         Second SCSI tape, mode 3&lt;BR /&gt;                      ...&lt;BR /&gt;                128 = /dev/nst0         First SCSI tape, mode 0, no rewind&lt;BR /&gt;                129 = /dev/nst1         Second SCSI tape, mode 0, no rewind&lt;BR /&gt;                    ...&lt;BR /&gt;                160 = /dev/nst0l        First SCSI tape, mode 1, no rewind&lt;BR /&gt;                161 = /dev/nst1l        Second SCSI tape, mode 1, no rewind&lt;BR /&gt;                    ...&lt;BR /&gt;                192 = /dev/nst0m        First SCSI tape, mode 2, no rewind&lt;BR /&gt;                193 = /dev/nst1m        Second SCSI tape, mode 2, no rewind&lt;BR /&gt;                    ...&lt;BR /&gt;                224 = /dev/nst0a        First SCSI tape, mode 3, no rewind&lt;BR /&gt;                225 = /dev/nst1a        Second SCSI tape, mode 3, no rewind&lt;BR /&gt;                    ...&lt;BR /&gt;&lt;BR /&gt;you can see the major,minor number by ls -l&lt;DEVICE file=""&gt;&lt;BR /&gt;&lt;BR /&gt;There is also a tool available (stinit) which initializes the tapedrive with the required settings.&lt;BR /&gt;&lt;BR /&gt;Albert&lt;/DEVICE&gt;</description>
      <pubDate>Wed, 05 Feb 2003 13:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896195#M3644</guid>
      <dc:creator>Albert Keizer</dc:creator>
      <dc:date>2003-02-05T13:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable compression on DAT under Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896196#M3645</link>
      <description>Or look in this document for jumper settings:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://allaw.com.au/Docs/UnixAIT.pdf" target="_blank"&gt;http://allaw.com.au/Docs/UnixAIT.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 05 Feb 2003 13:28:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-enable-compression-on-dat-under-linux/m-p/2896196#M3645</guid>
      <dc:creator>Albert Keizer</dc:creator>
      <dc:date>2003-02-05T13:28:16Z</dc:date>
    </item>
  </channel>
</rss>

