<?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: Compaction in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811738#M78143</link>
    <description>we use /med=com in init, mount and backup commands (why not?). Sometime we have problem if don't use /med=com in mount and backup though we init with /med=comp.</description>
    <pubDate>Sat, 24 Jun 2006 19:32:32 GMT</pubDate>
    <dc:creator>Jiri_5</dc:creator>
    <dc:date>2006-06-24T19:32:32Z</dc:date>
    <item>
      <title>Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811734#M78139</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I had a query against the compaction used while backup on the tapes. The backup is done on DLT3 tapes which say that the capacity of the tapes is 10 GB in normal mode and 20 GB if compaction enabled.&lt;BR /&gt;&lt;BR /&gt;If I want to backup some data say 20 gb on the tape I do the following ....&lt;BR /&gt;&lt;BR /&gt;init /media=compaction mkb0: sysbck&lt;BR /&gt;mount /media=compaction /noassist mkb0:&lt;BR /&gt;&lt;BR /&gt;Now my question is ....&lt;BR /&gt;&lt;BR /&gt;1) First am I right in thinking this would enable me the data compaction/compression with 20 GB backup on tape.&lt;BR /&gt;&lt;BR /&gt;2) If I init tape with /media=comp and then do not mount tape with /media=compact is it possible to achieve data compaction on the tape ? &lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jun 2006 05:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811734#M78139</guid>
      <dc:creator>iman_1</dc:creator>
      <dc:date>2006-06-24T05:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811735#M78140</link>
      <description>Iman,&lt;BR /&gt;&lt;BR /&gt;1) the COMPACTED capacity is only a raw estimate, Some data lends itself very well to compaction, and theN a much higher valuE is achievable, some data IS less fit for compression, and theN 2x compression is far from possible.&lt;BR /&gt;But for the general picture it ususally is pretty good.&lt;BR /&gt;&lt;BR /&gt;Is the data you need to backup one (or a few similar) file, than you will need to experiment.&lt;BR /&gt;If it is a collection of all kinds of different files (an entire disk with userdata, something like that), then it is fair to expect between 19 and 21.&lt;BR /&gt;&lt;BR /&gt;2) If mounting an INITed tape, then the /MEDIA qualifier of the MOUNT command is irrelevant. The structure already on the tape will be used. (It _IS_ relevant when mounting an NOT yet INITted tape!!)&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Sat, 24 Jun 2006 05:31:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811735#M78140</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-06-24T05:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811736#M78141</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We use a mixture of VMS Backup and DB utility backup. We have a habit of doing the mount as well as the init (with the switch), although I believe the mount/media=comp is not really necessary, my only concern is backup/init I assume would loose compacion, sorry can't test that for you.&lt;BR /&gt;&lt;BR /&gt;Don't forget that the 20GB is an estimate and is based on how much compression the drive can make of your data.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;John.</description>
      <pubDate>Sat, 24 Jun 2006 05:36:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811736#M78141</guid>
      <dc:creator>John Abbott_2</dc:creator>
      <dc:date>2006-06-24T05:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811737#M78142</link>
      <description>I would also use the /MEDIA=COMP qualifier on the backup command, since some tape devices allow different settings per saveset.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Sat, 24 Jun 2006 05:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811737#M78142</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-06-24T05:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811738#M78143</link>
      <description>we use /med=com in init, mount and backup commands (why not?). Sometime we have problem if don't use /med=com in mount and backup though we init with /med=comp.</description>
      <pubDate>Sat, 24 Jun 2006 19:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811738#M78143</guid>
      <dc:creator>Jiri_5</dc:creator>
      <dc:date>2006-06-24T19:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811739#M78144</link>
      <description>As a side note, like Jan briefly mentioned, some files do not compress well. For a file to compress, it has to have regularly repeating segments. To get an idea, try packing one in an archive with Zip or RAR or something of that nature. Text files compress well, PostScript files compress extremely well (down to 10% or smaller compared to the original). Files that have already be compacted (Zip, Rar, Jpeg, Mpeg to name a few), and simply those with no repeating data (encrypted for example) will exhibit little or no compression (99% or larger).&lt;BR /&gt;So the compression performed by the tape drive depends on the MIX of files you are backing up.</description>
      <pubDate>Sun, 25 Jun 2006 10:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811739#M78144</guid>
      <dc:creator>Sheldon Smith</dc:creator>
      <dc:date>2006-06-25T10:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811740#M78145</link>
      <description>I'm using a program from a guy working for Quantum that activates compression by default for a DLT drive. It is written in C. Drop me a line if you're interested.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Eberhard Heuser</description>
      <pubDate>Mon, 26 Jun 2006 02:40:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811740#M78145</guid>
      <dc:creator>Heuser-Hofmann</dc:creator>
      <dc:date>2006-06-26T02:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811741#M78146</link>
      <description>1) try it. Could as well be 10 GB as 30 GB. Try writing the save set 2 times. May work and could prove that you have high compression (or not).&lt;BR /&gt;&lt;BR /&gt;2) help init/med : "applies to the entire cartridge". help backup/med says if supported by media (which isn't the case), the compression is per save set.&lt;BR /&gt;&lt;BR /&gt;Also remind that backup has /group=10 as default. Thus 10% overhead is given. Use /group=0 to allow more data on tape.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 26 Jun 2006 02:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811741#M78146</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-06-26T02:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811742#M78147</link>
      <description>Just to let you know: we had shoe-shining with compaction enabled on our Tandberg DLT8000 drive. No problem without compaction. &lt;BR /&gt;Obvious culprits (Backup account &amp;amp; system PQL* limits) were considered innocent by common mind of COV, so the reason stayed unclear. Finally we chose long-lived drive instead of compaction.  So listen your drive.</description>
      <pubDate>Wed, 28 Jun 2006 00:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811742#M78147</guid>
      <dc:creator>Valentin Likoum</dc:creator>
      <dc:date>2006-06-28T00:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811743#M78148</link>
      <description>Some small remarks.&lt;BR /&gt;&lt;BR /&gt;1) if you backup mainly compressed files (e.g. zip) then the compression of the drive may expand the file instead of compressing it.&lt;BR /&gt;&lt;BR /&gt;2) I wonder if a drive can easier stay in streaming mode when no compressing is used, thus faster.&lt;BR /&gt;&lt;BR /&gt;3) I wonder if doing dir of the files to backup before the backup starts would improve performance because the file headers would probably be cached by it.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jun 2006 01:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811743#M78148</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-06-28T01:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811744#M78149</link>
      <description>I haven't checked this for a while but in the past you did have to specify /MEDIA=COMPACTION in each and every command you used that had this qualifier. Otherwise you could end up with no compaction.&lt;BR /&gt;&lt;BR /&gt;About doing a DIRECTORY/SIZE before a backup operation: True, at one point BACKUP reads in the file header through an XQP call. And this goes through the ACP header cache. But in most backup cases this cache is too small to hold all headers for the duration of the backup. See SYSGEN ACP_HDRCACHE (1 unit = 1 file header block). And typically the ACP_HDRCACHE is shared between all systemwide mounted volumes.&lt;BR /&gt;&lt;BR /&gt;LTO tape drives (especially LTO-3) can adjust there speed to avoid a stop-n-go situation thus improving backup speed where the disk input cannot keep up with tape speed (typically).</description>
      <pubDate>Fri, 30 Jun 2006 15:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811744#M78149</guid>
      <dc:creator>Guenther Froehlin</dc:creator>
      <dc:date>2006-06-30T15:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811745#M78150</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;Thanx for all your info,&lt;BR /&gt;&lt;BR /&gt;I have been able to compact the data which occupied 4 tapes into 2 tapes. Among other things data also had very big size .RDA files which are the database files for RDB.&lt;BR /&gt;&lt;BR /&gt;I had another question for the same...&lt;BR /&gt;&lt;BR /&gt;I had infact used below to compact the data&lt;BR /&gt;&lt;BR /&gt;init /media=compaction mkb0: sysbck&lt;BR /&gt;mount /media=compaction /noassist mkb0:&lt;BR /&gt;&lt;BR /&gt;and thereafter used the normal image backup with /verify option(did not use any compaction in backup command). If there is a file at the end of 1st tape of 2 tapes and its big enough to be accomadated in the first tape so its written in two tapes. But as you all know the /verify option write first tape first then compares the data with disk.How does the OpenVMS maintain the integrity of such big files which are spread across the two different volumes ? Could there be any problems while restoring the data from the tapes ?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Iman</description>
      <pubDate>Sun, 06 Aug 2006 15:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811745#M78150</guid>
      <dc:creator>iman_1</dc:creator>
      <dc:date>2006-08-06T15:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Compaction</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811746#M78151</link>
      <description>Iman,&lt;BR /&gt;&lt;BR /&gt;  As others have stated, depending on your data, your 10GB tape will hold 10GB of uncompacted data, and a variable volume of "compacted" data. For pathological data, it may be as low as 5GB or as high as 100GB.&lt;BR /&gt;&lt;BR /&gt;  An issue I've seen recently is customers complaining that writing tapes with BACKUP/ENCRYPT (new feature) takes more tape than expected. That's because /ENCRYPT produces uncompressible data. If you want to encrypt and compress data, compress it FIRST using your favourite compression utility, then encrypt it (side benefit, compression also increases the security of the encryption).  &lt;BR /&gt;&lt;BR /&gt;&amp;gt;  But as you all know the /verify option &lt;BR /&gt;&amp;gt;write first tape first then compares the &lt;BR /&gt;&amp;gt;data with disk.How does the OpenVMS &lt;BR /&gt;&amp;gt;maintain the integrity of such big files &lt;BR /&gt;&amp;gt;which are spread across the two different &lt;BR /&gt;&lt;VOLUMES&gt;&lt;/VOLUMES&gt;&amp;gt;while restoring the data from the tapes ?&lt;BR /&gt;&lt;BR /&gt;  Are you asking about modifications to the large file after the backup started, but before it completed? OpenVMS should give some kind of ACCONFLICT message if this occurs, either to BACKUP when it attempts to open the file, or to the application which tries to open the file for modification while BACKUP is copying it. Check your backup logs to make sure there are no errors or warnings. Don't trust the backup copy of any file that has a warning issued against it.&lt;BR /&gt;&lt;BR /&gt;  If the file is not modified you can trust that BACKUP will be able to reconstruct it correctly on restore.</description>
      <pubDate>Sun, 06 Aug 2006 18:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaction/m-p/3811746#M78151</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-08-06T18:45:24Z</dc:date>
    </item>
  </channel>
</rss>

