<?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: tape blocksize error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266110#M498748</link>
    <description>R.O,&lt;BR /&gt;&lt;BR /&gt;NOw I am getting the below error&lt;BR /&gt;&lt;BR /&gt;#tar -tvf /dev/rmt/c1t0d0BESTn&lt;BR /&gt;Tar: blocksize = 0; broken pipe?&lt;BR /&gt;</description>
    <pubDate>Fri, 10 Dec 2010 08:53:42 GMT</pubDate>
    <dc:creator>boomerang</dc:creator>
    <dc:date>2010-12-10T08:53:42Z</dc:date>
    <item>
      <title>Tar: tape blocksize error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266107#M498745</link>
      <description>Hi Admins,&lt;BR /&gt;&lt;BR /&gt;I am trying to view the content of tape which contains ignite backup but getting error "Tar: tape blocksize error".Am i doing any thing wrong ? please help.&lt;BR /&gt;&lt;BR /&gt;#ioscan -fnkC tape&lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;tape      0  0/7/1/0.0.0  stape CLAIMED     DEVICE       HP      C7438A&lt;BR /&gt;                         /dev/rmt/0m            /dev/rmt/0mn           /dev/rmt/c1t0d0BEST    /dev/rmt/c1t0d0BESTn   /dev/rmt/c1t0d0DDS     /dev/rmt/c1t0d0DDSn&lt;BR /&gt;                         /dev/rmt/0mb           /dev/rmt/0mnb          /dev/rmt/c1t0d0BESTb   /dev/rmt/c1t0d0BESTnb  /dev/rmt/c1t0d0DDSb    /dev/rmt/c1t0d0DDSnb&lt;BR /&gt;&lt;BR /&gt;#tar -tvf /dev/rmt/c1t0d0BESTn&lt;BR /&gt;Tar: tape blocksize error&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2010 08:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266107#M498745</guid>
      <dc:creator>boomerang</dc:creator>
      <dc:date>2010-12-10T08:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape blocksize error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266108#M498746</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think you have first to get rid of the first block in the tape, and then read the tar file:&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/c1t0d0BESTn rew&lt;BR /&gt;# mt -f /dev/rmt/c1t0d0BESTn fsf 1&lt;BR /&gt;# tar -tvf /dev/rmt/c1t0d0BESTn&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 10 Dec 2010 08:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266108#M498746</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-12-10T08:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape blocksize error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266109#M498747</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/c1t0d0BESTn&lt;BR /&gt; fsf 1&lt;BR /&gt;# tar -tvf /dev/rmt/c1t0d0BESTn&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1252842" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1252842&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;rgs,</description>
      <pubDate>Fri, 10 Dec 2010 08:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266109#M498747</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2010-12-10T08:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape blocksize error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266110#M498748</link>
      <description>R.O,&lt;BR /&gt;&lt;BR /&gt;NOw I am getting the below error&lt;BR /&gt;&lt;BR /&gt;#tar -tvf /dev/rmt/c1t0d0BESTn&lt;BR /&gt;Tar: blocksize = 0; broken pipe?&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2010 08:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266110#M498748</guid>
      <dc:creator>boomerang</dc:creator>
      <dc:date>2010-12-10T08:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape blocksize error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266111#M498749</link>
      <description>I used "mt -f /dev/rmt/c1t0d0BESTn fsf 22"&lt;BR /&gt;&lt;BR /&gt;then it worked.&lt;BR /&gt;&lt;BR /&gt;Can any one explain why are skipping ahead ? what is that we are skipping ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2010 09:02:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266111#M498749</guid>
      <dc:creator>boomerang</dc:creator>
      <dc:date>2010-12-10T09:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape blocksize error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266112#M498750</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You are skipping the tape boot area, which is 1 block for PA Risc ignite tapes and 22 for itanium...&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 10 Dec 2010 09:07:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266112#M498750</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-12-10T09:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape blocksize error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266113#M498751</link>
      <description>Hi &lt;BR /&gt;The trick to get the block size of a tape:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/c1t0d0BESTn rew&lt;BR /&gt;# mt -t /dev/rmt/c1t0d0BESTn fsf 1&lt;BR /&gt;# dd if=/dev/rmt/c1t0d0BESTn of=/dev/null ibs=128k obs=1 count=1&lt;BR /&gt;0+1 records in&lt;BR /&gt;10240+0 records out&lt;BR /&gt;-&amp;gt; this means that block size is  10240 ( it is always the size indicated as records out.&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/c1t0d0BESTn rew&lt;BR /&gt;# mt -t /dev/rmt/c1t0d0BESTn fsf&lt;BR /&gt; &lt;BR /&gt;# tar -tvbf  20  /dev/rmt/c1t0d0BESTn &lt;BR /&gt;&lt;BR /&gt;20is for 10240 ( 512 bytes blocks)&lt;BR /&gt;the size should be 20 for the second record.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2010 09:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266113#M498751</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2010-12-10T09:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape blocksize error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266114#M498752</link>
      <description>Thanks for your suggestions and tips.Points awarded.</description>
      <pubDate>Fri, 10 Dec 2010 09:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-blocksize-error/m-p/5266114#M498752</guid>
      <dc:creator>boomerang</dc:creator>
      <dc:date>2010-12-10T09:33:30Z</dc:date>
    </item>
  </channel>
</rss>

