<?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: hpux tar to tape in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292592#M337022</link>
    <description>&amp;gt;I am tarring 2GB files to tape&lt;BR /&gt;&amp;gt;tar -cvf &amp;lt;2GB file with bs=20k&amp;gt; /dev/rmt/2mn&lt;BR /&gt;&amp;gt;23014+178610 records in&lt;BR /&gt;&lt;BR /&gt;How are you doing it?  It seems you are using dd(1) somewhere?</description>
    <pubDate>Thu, 23 Oct 2008 03:44:27 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-10-23T03:44:27Z</dc:date>
    <item>
      <title>hpux tar to tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292590#M337020</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;I am tarring 2GB files to tape but they are getting slower over time. For example in &lt;BR /&gt;&lt;BR /&gt;January 2008:&lt;BR /&gt;Sat Jan 12 04:16:18 SST 2008&lt;BR /&gt;tar -cvf &amp;lt;2GB file with bs=20k&amp;gt; /dev/rmt/2mn&lt;BR /&gt;23014+178610 records in&lt;BR /&gt;23014+178610 records out&lt;BR /&gt;Sat Jan 12 04:26:35 SST 2008&lt;BR /&gt;&lt;BR /&gt;October 2008:&lt;BR /&gt;Tue Oct 14 04:15:07 SST 2008&lt;BR /&gt;tar -cvf &amp;lt;2GB file with bs=20k&amp;gt; /dev/rmt/2mn&lt;BR /&gt;8816+401760 records in&lt;BR /&gt;8816+401760 records out&lt;BR /&gt;Tue Oct 14 04:41:59 SST 2008&lt;BR /&gt;&lt;BR /&gt;So in Jan it takes just over 10min, but in Oct it is almost 27 min. Also the records in/out # is much larger. Would anyone have any idea what the records in/out numbers represent (and why they are increasing)and why it is taking longer to tar the same file to tape? Thanks!&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Oct 2008 01:15:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292590#M337020</guid>
      <dc:creator>PeterCh</dc:creator>
      <dc:date>2008-10-23T01:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: hpux tar to tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292591#M337021</link>
      <description>Hi PeterCh,&lt;BR /&gt;&lt;BR /&gt;Usually tar command d'not help supports backing up file size more than 2GB "me had this issue when i'm trying doing Cold Oracle DB backup" I  quickly moved to "fbackup" ..&lt;BR /&gt;&lt;BR /&gt;now everthing seems to be okies .. :)&lt;BR /&gt;&lt;BR /&gt;Its Just my experience only&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards,&lt;BR /&gt;Johnson</description>
      <pubDate>Thu, 23 Oct 2008 01:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292591#M337021</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-10-23T01:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: hpux tar to tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292592#M337022</link>
      <description>&amp;gt;I am tarring 2GB files to tape&lt;BR /&gt;&amp;gt;tar -cvf &amp;lt;2GB file with bs=20k&amp;gt; /dev/rmt/2mn&lt;BR /&gt;&amp;gt;23014+178610 records in&lt;BR /&gt;&lt;BR /&gt;How are you doing it?  It seems you are using dd(1) somewhere?</description>
      <pubDate>Thu, 23 Oct 2008 03:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292592#M337022</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-23T03:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: hpux tar to tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292593#M337023</link>
      <description>Yes that is correct.&lt;BR /&gt;&lt;BR /&gt;The actual command is:&lt;BR /&gt;&lt;BR /&gt;tar -cvf - &lt;FILENAME&gt; | remsh &lt;REMOTE ip=""&gt; dd of=/dev/rmt/2mn bs=20k 1&lt;/REMOTE&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 23 Oct 2008 04:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292593#M337023</guid>
      <dc:creator>PeterCh</dc:creator>
      <dc:date>2008-10-23T04:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: hpux tar to tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292594#M337024</link>
      <description>&amp;gt;The actual command is:&lt;BR /&gt;tar -cvf - &lt;FILENAME&gt; | remsh &lt;REMOTE ip=""&gt; dd of=/dev/rmt/2mn bs=20k 1&lt;BR /&gt;&lt;BR /&gt;This is going to cause you problems.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;23014+178610 records in&lt;BR /&gt;&amp;gt;23014+178610 records out&lt;BR /&gt;&lt;BR /&gt;This says you have 23014 full blocks and 178610 partial blocks both read and written.  See dd(1) DIAGNOSTICS.&lt;BR /&gt;&lt;BR /&gt;Partial blocks to a tape is bad news.&lt;BR /&gt;But the most important thing besides performance and space on the tape, can you even read your tape?&lt;BR /&gt;Whether with tar directly or with dd then tar??&lt;BR /&gt;&lt;BR /&gt;8816+401760 records in&lt;BR /&gt;8816+401760 records out&lt;BR /&gt;&lt;BR /&gt;Now it is worse!  Perhaps because of the blocksize being written with remsh is smaller??&lt;BR /&gt;&lt;BR /&gt;It seems you want to experiment with something like:&lt;BR /&gt;tar -cvf - &lt;FILENAME&gt; | remsh &lt;REMOTE ip=""&gt; dd of=/dev/rmt/2mn ibs=8k obs=20k&lt;BR /&gt;&lt;BR /&gt;In the above case, tar is writing 512.  The pipe is providing 8 Kb and dd is reblocking to 20 Kb.&lt;BR /&gt;&lt;BR /&gt;You can make tar blocks bigger:&lt;BR /&gt;tar -cvbf 16 - ...&lt;/REMOTE&gt;&lt;/FILENAME&gt;&lt;/REMOTE&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 23 Oct 2008 05:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292594#M337024</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-23T05:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: hpux tar to tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292595#M337025</link>
      <description>Thank you for your interesting reply! I will try to investigate further. The records in/out is always different too for each backup.&lt;BR /&gt;&lt;BR /&gt;We have been using the same database backup script for quite a while now and have restored the files to another server with no problem, so the backup seems to be ok.</description>
      <pubDate>Thu, 23 Oct 2008 05:59:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-tar-to-tape/m-p/4292595#M337025</guid>
      <dc:creator>PeterCh</dc:creator>
      <dc:date>2008-10-23T05:59:10Z</dc:date>
    </item>
  </channel>
</rss>

