<?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 create in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885513#M101883</link>
    <description>Hi,&lt;BR /&gt;   It is also not working, giving the same error.&lt;BR /&gt;&lt;BR /&gt;--Shaji</description>
    <pubDate>Mon, 20 Jan 2003 14:55:58 GMT</pubDate>
    <dc:creator>Shaji Nair_1</dc:creator>
    <dc:date>2003-01-20T14:55:58Z</dc:date>
    <item>
      <title>tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885506#M101876</link>
      <description>Hi,&lt;BR /&gt;  I have a small issue while trying to untar a tar file. On some&lt;BR /&gt;particular files the tar is complaining cannot create the file. But i&lt;BR /&gt;am able to touch a file in the same director if i try to do it form&lt;BR /&gt;command line. I am able to untar the same archive on another mahcine&lt;BR /&gt;which is 10.20  at the same patch level. I have tired to set&lt;BR /&gt;the umask as the working machine umask and also i have tired to untar&lt;BR /&gt;the archinve under /tmp directory which is also giving the same&lt;BR /&gt;error.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Shaji Nair</description>
      <pubDate>Mon, 20 Jan 2003 13:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885506#M101876</guid>
      <dc:creator>Shaji Nair_1</dc:creator>
      <dc:date>2003-01-20T13:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885507#M101877</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you provide some output off the tar command ?&lt;BR /&gt;&lt;BR /&gt;Robert-jan.</description>
      <pubDate>Mon, 20 Jan 2003 13:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885507#M101877</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-01-20T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885508#M101878</link>
      <description>Hi,&lt;BR /&gt;   Please see the example output &lt;BR /&gt;#tar xvf os.tar&lt;BR /&gt;x repository/bin/sysman, 1693 bytes, 4 tape blocks&lt;BR /&gt;x repository/bin/dzl_verify, 9645 bytes, 19 tape blocks&lt;BR /&gt;x repository/bin/dzl_version, 1157 bytes, 3 tape blocks&lt;BR /&gt;x repository/bin/gs, 2451876 bytes, 4789 tape blocks&lt;BR /&gt;tar: repository/bin/config_device - cannot create&lt;BR /&gt;x repository/bin/config_host, 566520 bytes, 1107 tape blocks&lt;BR /&gt;x repository/bin/config_server, 558376 bytes, 1091 tape blocks&lt;BR /&gt;x repository/bin/device_status, 530024 bytes, 1036 tape blocks&lt;BR /&gt;x repository/bin/list_host, 564912 bytes, 1104 tape blocks&lt;BR /&gt;x repository/bin/list_server, 558352 bytes, 1091 tape blocks&lt;BR /&gt;x repository/bin/probe, 510424 bytes, 997 tape blocks&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jan 2003 13:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885508#M101878</guid>
      <dc:creator>Shaji Nair_1</dc:creator>
      <dc:date>2003-01-20T13:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885509#M101879</link>
      <description>&lt;BR /&gt;Have you tried restoring as root?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 20 Jan 2003 13:58:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885509#M101879</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-01-20T13:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885510#M101880</link>
      <description>Hi,&lt;BR /&gt;   Yes, i am doing everything as root.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shaji</description>
      <pubDate>Mon, 20 Jan 2003 14:00:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885510#M101880</guid>
      <dc:creator>Shaji Nair_1</dc:creator>
      <dc:date>2003-01-20T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885511#M101881</link>
      <description>Hi,&lt;BR /&gt;   I can restore the same file individually from the archive. say tar xvf os.tar repository/bin/config_device is working. The problem is not happening for random files, it is the same files which is giving the error.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shaji</description>
      <pubDate>Mon, 20 Jan 2003 14:04:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885511#M101881</guid>
      <dc:creator>Shaji Nair_1</dc:creator>
      <dc:date>2003-01-20T14:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885512#M101882</link>
      <description>Try tar xvof os.tar&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Mon, 20 Jan 2003 14:25:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885512#M101882</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-01-20T14:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885513#M101883</link>
      <description>Hi,&lt;BR /&gt;   It is also not working, giving the same error.&lt;BR /&gt;&lt;BR /&gt;--Shaji</description>
      <pubDate>Mon, 20 Jan 2003 14:55:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885513#M101883</guid>
      <dc:creator>Shaji Nair_1</dc:creator>
      <dc:date>2003-01-20T14:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885514#M101884</link>
      <description>Hi Shaji&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IS that file already exisitng and in use , do a ls -l repository/bin/config and checkf or the existence of the file , it amy be possible that the file is in use , so even tar doenst overwirte it becasue it cannot be deleted as it is in use . You can use fuser filenem to know the process controlling it .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 20 Jan 2003 15:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885514#M101884</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2003-01-20T15:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885515#M101885</link>
      <description>One possibility, which is NOT indicated by your sample output, is that it is possible for a tar archive to contain more than one copy of the same file.  An archive can be appended to.&lt;BR /&gt;&lt;BR /&gt;If the first file extracted has permission which do not permit overwriting, then second extraction of the same file will fail.&lt;BR /&gt;&lt;BR /&gt;Do a tar tvf listing and look for two entries of your config_device listing.&lt;BR /&gt;tar tvf os.tar | grep config_device.&lt;BR /&gt;&lt;BR /&gt;This will demonstrate the problem.&lt;BR /&gt;$ touch mtr&lt;BR /&gt;$ chmod 400 mtr&lt;BR /&gt;$ tar cf tar.tar mtr&lt;BR /&gt;$ tar rf tar.tar mtr&lt;BR /&gt;$ rm mtr&lt;BR /&gt;$ tar xvf tar.tar&lt;BR /&gt;x mtr, 0 bytes&lt;BR /&gt;tar: mtr - cannot create.</description>
      <pubDate>Tue, 21 Jan 2003 11:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885515#M101885</guid>
      <dc:creator>Martin Robinson</dc:creator>
      <dc:date>2003-01-21T11:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885516#M101886</link>
      <description>I have done a check of the tar file to see whether there are multiple file, but there is only one occurance of this file, and on top of this the directory structure is getting created when i do a untar, it is not that i am untaring onto an existing directory structure. It has become a bit annoying for me now, i am taking long time to figure it out. I have asked for the HP software support to help me with the problem, i will update you with the solution. In the meantime any suggestions are welcome and i willing to tr it also.&lt;BR /&gt;&lt;BR /&gt;-- Shaj</description>
      <pubDate>Tue, 21 Jan 2003 11:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885516#M101886</guid>
      <dc:creator>Shaji Nair_1</dc:creator>
      <dc:date>2003-01-21T11:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885517#M101887</link>
      <description>could you post the result for tar tvf os.tar?</description>
      <pubDate>Tue, 21 Jan 2003 11:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885517#M101887</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2003-01-21T11:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885518#M101888</link>
      <description>Please find the attached list of files (tar tvf output).&lt;BR /&gt;&lt;BR /&gt;---Shaji</description>
      <pubDate>Tue, 21 Jan 2003 15:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885518#M101888</guid>
      <dc:creator>Shaji Nair_1</dc:creator>
      <dc:date>2003-01-21T15:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885519#M101889</link>
      <description>I can see a list of tar xvf, but it is not reporting nothing about the file, except it can not be created. Can you say how many GB large is it? ;-)</description>
      <pubDate>Tue, 21 Jan 2003 16:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885519#M101889</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2003-01-21T16:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885520#M101890</link>
      <description>It is only a 80MB file, and the list i have given is from the tar tvf output, not from xvf, you can see the xvf output on one of the reply i have given. I have just talked to the Engineer in HP looking into the issue and they have put a bit of informatiion. The problem is happening only on vxfs file system and not on hfs. If any of you have any experience like this on a vxfs filesystem please do update.</description>
      <pubDate>Tue, 21 Jan 2003 16:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885520#M101890</guid>
      <dc:creator>Shaji Nair_1</dc:creator>
      <dc:date>2003-01-21T16:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: tar cannot create</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885521#M101891</link>
      <description>The file could be a socket.&lt;BR /&gt;&lt;BR /&gt;If you have access to te original do "ls -l" on the file IF the perms begin with an s it is a socket.  e.g.&lt;BR /&gt;srw-rw-rw- root sys .....etc....&lt;BR /&gt;&lt;BR /&gt;tar cannot create it.  Most programs create socket files by themselves if they are not present and so it's "non-existance" may be OK&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Tue, 21 Jan 2003 16:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-create/m-p/2885521#M101891</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-01-21T16:59:28Z</dc:date>
    </item>
  </channel>
</rss>

