<?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 how to make TAR  to run faster in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532130#M869271</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have 7G data needed badly to extract from a 12G tape drive.    It runs forever.   The server is K260 with 2 cpus.   Not much other processes going on.&lt;BR /&gt;&lt;BR /&gt;I guess there is some command to make tar to be running faster.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Wed, 23 May 2001 19:46:03 GMT</pubDate>
    <dc:creator>Steven Chen_1</dc:creator>
    <dc:date>2001-05-23T19:46:03Z</dc:date>
    <item>
      <title>how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532130#M869271</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have 7G data needed badly to extract from a 12G tape drive.    It runs forever.   The server is K260 with 2 cpus.   Not much other processes going on.&lt;BR /&gt;&lt;BR /&gt;I guess there is some command to make tar to be running faster.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 23 May 2001 19:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532130#M869271</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2001-05-23T19:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532131#M869272</link>
      <description>As far as I know there is not much way to speed up tar.  The only thing I can think of that might help a little is to NOT use the verbose '-v' option when extracting.  Other than that you'll just have to let it run.  It will finish eventually.</description>
      <pubDate>Wed, 23 May 2001 19:55:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532131#M869272</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-05-23T19:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532132#M869273</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;Try this, we are going to use dd to icease the input blocking:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m ibs=2000b obs=1b | tar xvf -&lt;BR /&gt;&lt;BR /&gt;This will reblock input to 2000 512 byte blocks.&lt;BR /&gt;&lt;BR /&gt;You may need to adjust the obs to perhaps 20b depending on the original tar blocking factor.&lt;BR /&gt;&lt;BR /&gt;Before you actually extract, I would pipe the dd to a tar vtf - to attempt a listing first. That way you can adjust the obs setting until you get consistant results. You can kill (or interrupt) the process until you get the settings right. Again, i would start with obs=1b, then try 20b. &lt;BR /&gt;&lt;BR /&gt;This should speed up the process by at least 30x.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Wed, 23 May 2001 19:59:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532132#M869273</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-23T19:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532133#M869274</link>
      <description>Patric,&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;Would "tar x ...." just enough?&lt;BR /&gt;or "tar xf ..." if not use xvf?&lt;BR /&gt;&lt;BR /&gt;I am using xvf that is as slow as whatever.</description>
      <pubDate>Wed, 23 May 2001 20:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532133#M869274</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2001-05-23T20:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532134#M869275</link>
      <description>If the tape drive and the disk drive are on the same SCSI bus I guess there could be a traffic problem as you might be reading and writing the data on the same bus.  The only way I know to get around that is to somehow read the tape from another system and send the output through the LAN.  I've thought about doing that before but I've never tried it.</description>
      <pubDate>Wed, 23 May 2001 20:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532134#M869275</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-05-23T20:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532135#M869276</link>
      <description>Yes you could use 'tar -x filetorestore' or 'tar xf /dev/rmt/?m filetorestore'.  The 'v' option is what causes everything to display to your terminal, so it could slow you down.&lt;BR /&gt;&lt;BR /&gt;Clays solution looks interesting.  I may have to play with that myself.</description>
      <pubDate>Wed, 23 May 2001 20:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532135#M869276</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-05-23T20:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532136#M869277</link>
      <description>Clay,&lt;BR /&gt;&lt;BR /&gt;Thank you for the thought.&lt;BR /&gt;&lt;BR /&gt;Those 7G data are Oracle datafiles used to recover database.   I would need to make sure any method would not cause data corruption.&lt;BR /&gt;&lt;BR /&gt;I was using tar to backup, so I use tar to extract.</description>
      <pubDate>Wed, 23 May 2001 20:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532136#M869277</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2001-05-23T20:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532137#M869278</link>
      <description>another question related:&lt;BR /&gt;&lt;BR /&gt;I use oracle user to tar cvf file.   While I tar xf extracting file, would I have to use oracle user too?   Would root account run faster?   Or that would change the file bits?</description>
      <pubDate>Wed, 23 May 2001 20:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532137#M869278</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2001-05-23T20:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532138#M869279</link>
      <description>Talking about blokages:&lt;BR /&gt;&lt;BR /&gt;Use tar cvbf 64 /dev/rmt ...&lt;BR /&gt;&lt;BR /&gt;Or tyr pax.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 May 2001 23:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532138#M869279</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-05-23T23:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to make TAR  to run faster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532139#M869280</link>
      <description>tar is not in itself the problem unless your machine is very slow (less than 50 Mhz). tar reads the file as fast as the opsystem allows and outputs the result to the tape. To see just how fast tar is, change the output tape device to /dev/null...it should complete in a very short time.&lt;BR /&gt;&lt;BR /&gt;So the problem is getting the data to the tape fast enough to prevent data starvation.  Like all streaming drives, if the data does not keep ahead of the device, the drive stops, backs up and resyncs, a very costly task (wastes a lot of time).&lt;BR /&gt;&lt;BR /&gt;The tape drive must be on a dedicated bus or on a bus with no activity on any other connected peripheral. If the tape and the disk are on the same bus, there is nothing you can do to improve performance.&lt;BR /&gt;&lt;BR /&gt;It's also important to note that tar (pax, cpio, dump) is NOT recommended for large data backup tasks. It is a couple of decades old and designed for reel-to-reel tape drives holding a whopping 150 megs. Industry standard tar can never handle a file bigger than 2 Gb and has no error recovery procedures.  If this data is important, strongly consider a commercial quality backup program.  Or as a minimum, use fbackup which does handle large files and has error recovery built-in.  Do not use fbackup without a config file to set large records and a large number of helper proceses.</description>
      <pubDate>Thu, 24 May 2001 00:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-tar-to-run-faster/m-p/2532139#M869280</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-05-24T00:00:55Z</dc:date>
    </item>
  </channel>
</rss>

