<?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: cannot close error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/6783505#M488963</link>
    <description>&lt;P&gt;The correct answer was about NFS.&amp;nbsp; I got multiple errors taking a tar file that I had stored elsewhere and moved it back via ftp in binary and tar -tvf seemed to work.&amp;nbsp; Well it turns out that since my working location was on NFS, I had numerous write errors to the subdirectory when using tar -xvf FILE.tar.&amp;nbsp; Once I moved that FILE to /tmp and did it there,&amp;nbsp;tar -xvf&amp;nbsp;worked perfectly and all the way.&amp;nbsp; Then the files could be read.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2015 19:53:54 GMT</pubDate>
    <dc:creator>Upstate Rob</dc:creator>
    <dc:date>2015-09-10T19:53:54Z</dc:date>
    <item>
      <title>tar: cannot close error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/2964833#M119151</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm in the process of restoring a large number of older archive tapes (and some very recent ones) and refreshing the media (converting to new media and consolidating a large number of tapes to a small number...)&lt;BR /&gt;&lt;BR /&gt;One of the errors I have come across a couple of times is:&lt;BR /&gt;&lt;BR /&gt;tar: Cannot close ./dir1/fir2/filex&lt;BR /&gt;&lt;BR /&gt;In a couple of cases, the media is new and the drive has not had any problems with other tapes to date (some are DLT4 tapes, the drive is a DLT7000, others are 8mm DAT format and have more problems)&lt;BR /&gt;&lt;BR /&gt;I really need to be able to restore these.  I have determined that if I do a tar xvf /dev/rmt/6mn exact/path/and/filename, I can skip the offending file and restore the following one, but I can't do it in a stream.&lt;BR /&gt;&lt;BR /&gt;So, my question is, is there any way to force tar to skip past these bad blocks?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Don</description>
      <pubDate>Fri, 02 May 2003 16:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/2964833#M119151</guid>
      <dc:creator>Don Mallory</dc:creator>
      <dc:date>2003-05-02T16:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot close error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/2964834#M119152</link>
      <description>Threads that might help..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1d6837f45ef7d4118fef0090279cd0f9,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=1" target="_blank"&gt;http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1d6837f45ef7d4118fef0090279cd0f9,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdad9f841489fd4118fef0090279cd0f9,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=2" target="_blank"&gt;http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdad9f841489fd4118fef0090279cd0f9,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2a82402f24d5d61190050090279cd0f9,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=3" target="_blank"&gt;http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2a82402f24d5d61190050090279cd0f9,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa3a6e7e60861d511abcd0090277a778c,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=4" target="_blank"&gt;http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa3a6e7e60861d511abcd0090277a778c,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf40d06350fe2d61190050090279cd0f9,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=5" target="_blank"&gt;http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf40d06350fe2d61190050090279cd0f9,00.html&amp;amp;qt=%22tar%3A+Cannot+close%22&amp;amp;hit=5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.isnamerica.com" target="_blank"&gt;http://www.isnamerica.com&lt;/A&gt;&lt;BR /&gt;Call me anything you want, but don't forget to call me to dinner.&lt;BR /&gt;Steven E. Protter</description>
      <pubDate>Fri, 02 May 2003 18:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/2964834#M119152</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-02T18:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot close error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/2964835#M119153</link>
      <description>I quickly searched for this error in our Knowledge DataBases. This seems to be a NFS issue. I assume you are trying to restore  (for example) ./dir1/fir2/filex to a NFS-mounted directory. If so, try a local directory an see if the problem goes away.</description>
      <pubDate>Mon, 05 May 2003 09:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/2964835#M119153</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-05-05T09:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot close error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/6783505#M488963</link>
      <description>&lt;P&gt;The correct answer was about NFS.&amp;nbsp; I got multiple errors taking a tar file that I had stored elsewhere and moved it back via ftp in binary and tar -tvf seemed to work.&amp;nbsp; Well it turns out that since my working location was on NFS, I had numerous write errors to the subdirectory when using tar -xvf FILE.tar.&amp;nbsp; Once I moved that FILE to /tmp and did it there,&amp;nbsp;tar -xvf&amp;nbsp;worked perfectly and all the way.&amp;nbsp; Then the files could be read.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 19:53:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-close-error/m-p/6783505#M488963</guid>
      <dc:creator>Upstate Rob</dc:creator>
      <dc:date>2015-09-10T19:53:54Z</dc:date>
    </item>
  </channel>
</rss>

