<?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: Tar: error! blocksize changed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212646#M793471</link>
    <description>hi,&lt;BR /&gt; &lt;BR /&gt;you also are TARing the destination file into the tarfile, so the file it's trying to tar is being changed at the same time.&lt;BR /&gt; &lt;BR /&gt;try:&lt;BR /&gt;tar cvf ../softran.TAR *&lt;BR /&gt;or&lt;BR /&gt;tar cvf softran.TAR !(softran.TAR)&lt;BR /&gt; &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
    <pubDate>Mon, 08 Mar 2004 15:54:57 GMT</pubDate>
    <dc:creator>Thierry Poels_1</dc:creator>
    <dc:date>2004-03-08T15:54:57Z</dc:date>
    <item>
      <title>Tar: error! blocksize changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212644#M793469</link>
      <description>Hi,&lt;BR /&gt;  Iâ  m trying compress an entire directory into a single file using tar. For the sake of debugging, I am trying it using just 2 files.&lt;BR /&gt;The resulting files appear to be correct and work fine but I always get  an error â  Tar: error! blocksize changedâ  . See below.&lt;BR /&gt;  I have tried waiting an extended amount of time to be sure it it not a timing issue and my file size is well below 2G.&lt;BR /&gt;&lt;BR /&gt;ANY IDEAS??&lt;BR /&gt;&lt;BR /&gt;tar -cvf softran.TAR .&lt;BR /&gt;produces:&lt;BR /&gt;a ./eft110.cbl 61 blocks&lt;BR /&gt;a ./install.sh 1 blocks&lt;BR /&gt;a ./softran.TAR 60 blocks&lt;BR /&gt;./softran.TAR: file changed size&lt;BR /&gt;&lt;BR /&gt;the result is:&lt;BR /&gt;-rw-rw-r--   1 sysmnt     sysmnt      133120 Mar  8 09:03 softran.TAR&lt;BR /&gt;&lt;BR /&gt;when I extract using&lt;BR /&gt; tar -xvf softran.TAR&lt;BR /&gt;&lt;BR /&gt;x ./eft110.cbl, 31033 bytes, 61 tape blocks&lt;BR /&gt;x ./install.sh, 36 bytes, 1 tape blocks&lt;BR /&gt;x ./softran.TAR, 30720 bytes, 60 tape blocks&lt;BR /&gt;Tar: error! blocksize changed&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Mar 2004 15:47:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212644#M793469</guid>
      <dc:creator>Renda Skandier</dc:creator>
      <dc:date>2004-03-08T15:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: error! blocksize changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212645#M793470</link>
      <description>You are trying to create a tarfile in the same directory that you are taring; ie, the tar is trying ti tar itself.&lt;BR /&gt;&lt;BR /&gt;Do this:&lt;BR /&gt;tar cvf /var/tmp/softran.TAR .&lt;BR /&gt;&lt;BR /&gt;assuming that your CWD is not /var/tmp.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Mar 2004 15:51:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212645#M793470</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-03-08T15:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: error! blocksize changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212646#M793471</link>
      <description>hi,&lt;BR /&gt; &lt;BR /&gt;you also are TARing the destination file into the tarfile, so the file it's trying to tar is being changed at the same time.&lt;BR /&gt; &lt;BR /&gt;try:&lt;BR /&gt;tar cvf ../softran.TAR *&lt;BR /&gt;or&lt;BR /&gt;tar cvf softran.TAR !(softran.TAR)&lt;BR /&gt; &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Mon, 08 Mar 2004 15:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212646#M793471</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-03-08T15:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: error! blocksize changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212647#M793472</link>
      <description>Clay is absolutely correct.&lt;BR /&gt;&lt;BR /&gt;If you absolutely MUST create the tar file in the same directory as the rest of your files, I would do something like this:&lt;BR /&gt;&lt;BR /&gt;# ls -1 &amp;gt; /var/tmp/file&lt;BR /&gt;&lt;BR /&gt;# tar -cvf softran.TAR $(cat /var/tmp/file)&lt;BR /&gt;&lt;BR /&gt;This will create your tar file in the same directory but will not try to include itself in the tar file.</description>
      <pubDate>Mon, 08 Mar 2004 15:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212647#M793472</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-03-08T15:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: error! blocksize changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212648#M793473</link>
      <description>hmmmz, it seems it was mixing things up&lt;BR /&gt;the second one should have been:&lt;BR /&gt; &lt;BR /&gt;tar cvf softran.TAR $(!softran.TAR)&lt;BR /&gt;(tar all files except softran.TAR) &lt;BR /&gt;&lt;BR /&gt;sorry &amp;amp; good luck,&lt;BR /&gt;Thierry</description>
      <pubDate>Mon, 08 Mar 2004 16:03:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212648#M793473</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-03-08T16:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: error! blocksize changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212649#M793474</link>
      <description>aaaaaarggghh&lt;BR /&gt;I was mixing up my mixed up stuff :-(&lt;BR /&gt; &lt;BR /&gt;tar cvf softran.TAR !(softran.TAR)&lt;BR /&gt;was indeed the correct one, sorry sorry sorry&lt;BR /&gt; &lt;BR /&gt;Thierry  (need more sleep ;)&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2004 04:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212649#M793474</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-03-09T04:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: error! blocksize changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212650#M793475</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please check this link&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=190047" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=190047&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2004 04:17:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212650#M793475</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2004-03-09T04:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: error! blocksize changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212651#M793476</link>
      <description>Thanks everyone! I knew it was something I was just missing. &lt;BR /&gt;&lt;BR /&gt;It took me awhile because I missed the "."&lt;BR /&gt;at the end of&lt;BR /&gt;tar cvf /home/live/updates/$1/softran.TAR .&lt;BR /&gt;&lt;BR /&gt;for future readers I also needed to change the extract line to extract from a diff dir&lt;BR /&gt;tar -xvf /home/store/files/softran.TAR&lt;BR /&gt;&lt;BR /&gt;THANKS AGAIN!</description>
      <pubDate>Tue, 09 Mar 2004 09:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error-blocksize-changed/m-p/3212651#M793476</guid>
      <dc:creator>Renda Skandier</dc:creator>
      <dc:date>2004-03-09T09:05:01Z</dc:date>
    </item>
  </channel>
</rss>

