<?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 tar problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508577#M595663</link>
    <description>hi all,&lt;BR /&gt;i'm trying to copy a user's area from one ws to another. The area is about 3 GB.&lt;BR /&gt;Usually i use the following command (it always works, also with greater areas):&lt;BR /&gt;tar cf - directorytocopy | remsh new-ws '(cd /local_user ; tar xvf - )'&lt;BR /&gt;The copy begins and after a few minutes it stops and i'm having the following error message on the ws where i do the tar command:&lt;BR /&gt;connection reset by a peer. connection closed.&lt;BR /&gt;What does it mean? No other root is killing or closing my tranfer. Could it be a network problem?? What should i do?&lt;BR /&gt;Thanks &amp;amp; regard</description>
    <pubDate>Thu, 22 Mar 2001 14:42:35 GMT</pubDate>
    <dc:creator>Tarek</dc:creator>
    <dc:date>2001-03-22T14:42:35Z</dc:date>
    <item>
      <title>tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508577#M595663</link>
      <description>hi all,&lt;BR /&gt;i'm trying to copy a user's area from one ws to another. The area is about 3 GB.&lt;BR /&gt;Usually i use the following command (it always works, also with greater areas):&lt;BR /&gt;tar cf - directorytocopy | remsh new-ws '(cd /local_user ; tar xvf - )'&lt;BR /&gt;The copy begins and after a few minutes it stops and i'm having the following error message on the ws where i do the tar command:&lt;BR /&gt;connection reset by a peer. connection closed.&lt;BR /&gt;What does it mean? No other root is killing or closing my tranfer. Could it be a network problem?? What should i do?&lt;BR /&gt;Thanks &amp;amp; regard</description>
      <pubDate>Thu, 22 Mar 2001 14:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508577#M595663</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-03-22T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508578#M595664</link>
      <description>I guess it's a matter of choice, but have you tried just doing an ftp or something I like to use:&lt;BR /&gt; rcp for remote copy.  Just set up an .rhosts file on the remote system and you can then do the remote copy&lt;BR /&gt;&lt;BR /&gt;rcp -p -r /dir/all_dir&amp;amp;files_here  remote_host:/thisdir/&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;/rcw&lt;BR /&gt;&lt;BR /&gt;-p maintains file permissions/ownership&lt;BR /&gt;-r copy all files and directories</description>
      <pubDate>Thu, 22 Mar 2001 14:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508578#M595664</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-03-22T14:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508579#M595665</link>
      <description>Hi&lt;BR /&gt;Does the are have a file over 2Gb in size? if so tar has a problem.&lt;BR /&gt;&lt;BR /&gt;If you do have a 2Gb + file will it zip below 2Gb?&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 22 Mar 2001 15:06:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508579#M595665</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-03-22T15:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508580#M595666</link>
      <description>Hi&lt;BR /&gt;Info on Tar and file size:-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe29d0559ff7cd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe29d0559ff7cd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 22 Mar 2001 15:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508580#M595666</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-03-22T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508581#M595667</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;A possible fix to to NFS export from the source machine and them mount it on the target machine.&lt;BR /&gt;&lt;BR /&gt;then cd to mounted dir&lt;BR /&gt;find .|cpio -pudvm /&lt;TARGET dir=""&gt;&lt;BR /&gt;&lt;BR /&gt;Paula&lt;/TARGET&gt;</description>
      <pubDate>Thu, 22 Mar 2001 15:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508581#M595667</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-03-22T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508582#M595668</link>
      <description>i did a tar and not an rcp because i have to maintain links...&lt;BR /&gt;there aren't files greater that 2 gb....because as filesystem i didn't set the largefiles option..</description>
      <pubDate>Thu, 22 Mar 2001 15:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508582#M595668</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-03-22T15:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508583#M595669</link>
      <description>Hi&lt;BR /&gt;Can you telnet to the destination workstation? and does it stay up?&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 22 Mar 2001 15:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508583#M595669</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-03-22T15:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508584#M595670</link>
      <description>yes i can telnet and connection didn't fall....&lt;BR /&gt;the 2 ws has different O.S. One is 10.20 and the other in 11.00.&lt;BR /&gt;I saw your description to mount nfs and then do cpio...does it maintain links?? i never used cpio, can you make me an example please...&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Mar 2001 15:49:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508584#M595670</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-03-22T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508585#M595671</link>
      <description>Hi&lt;BR /&gt;As one has 10.20 and the other 11.00 there is a difference in nfs and the connection is very weak/slow.&lt;BR /&gt;&lt;BR /&gt;Suggestions:-&lt;BR /&gt;&lt;BR /&gt;Tar the files up locally and then ftp the tar file to the target machine. This will work providing you have the space on the source machine.&lt;BR /&gt;&lt;BR /&gt;Thanks for the points that gave me my wizards hat ;-)&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 22 Mar 2001 16:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508585#M595671</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-03-22T16:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508586#M595672</link>
      <description>I thought about that, but unfortunately i don't have enough space to do the tar...&lt;BR /&gt;the only way is to do the tar on a tape, right?? In this mode, i have to go to the place where ws is, mount the DAT, do the tar, go to the other ws and so forth..it will be very long and boring...there isn't another way??</description>
      <pubDate>Thu, 22 Mar 2001 16:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508586#M595672</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-03-22T16:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508587#M595673</link>
      <description>Just to inform you of a good archiving solution.&lt;BR /&gt;You can use "ar" to create portable archives (it's similar to the old "arj" in MS-DOS).&lt;BR /&gt;good luck.</description>
      <pubDate>Thu, 22 Mar 2001 16:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508587#M595673</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-03-22T16:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508588#M595674</link>
      <description>tar cvf file.tar /path/*,compress of file.tar, ftp of file.tar.Z in remote host.</description>
      <pubDate>Thu, 22 Mar 2001 16:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508588#M595674</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-03-22T16:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508589#M595675</link>
      <description>Vincenzo..i can't create the tar file on the local host and then ftp it, becuase i don't have enough space.&lt;BR /&gt;I'm try to do this:&lt;BR /&gt;tar cf - file | remsh ws '(cd / ; tar xvf -)'&lt;BR /&gt;but i'm having that strange error..connection closed by a peer..&lt;BR /&gt;this command works on all ws, unless on this. do i have to configure something because it works??</description>
      <pubDate>Tue, 27 Mar 2001 09:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508589#M595675</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-03-27T09:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508590#M595676</link>
      <description>Why don't you export your target directory via nfs to your source workstation, thus you don't need to do a remsh in your command?&lt;BR /&gt;&lt;BR /&gt;Bye, Thomas</description>
      <pubDate>Tue, 27 Mar 2001 09:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508590#M595676</guid>
      <dc:creator>Thomas Kollig</dc:creator>
      <dc:date>2001-03-27T09:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508591#M595677</link>
      <description>Have you tried using tar to tape at all?  tar will prompt you for more tapes if necessary.  Writing to tape should be at least as quick as what you've been trying.&lt;BR /&gt;&lt;BR /&gt;Other possible solution is to &lt;BR /&gt;tar cvf - mydir | gzip -9 -c mydir.tar.gz&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-rob-</description>
      <pubDate>Tue, 27 Mar 2001 09:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508591#M595677</guid>
      <dc:creator>Robert O'Brien</dc:creator>
      <dc:date>2001-03-27T09:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508592#M595678</link>
      <description>hi again&lt;BR /&gt;I've just had a look again at the thread and thought I should explain myself better.  If you only have to do this for one user, mounting the tape, doing the tar and restoring on one system would probably have taken less time than you've spent on the problem so far.  If you have lots of users, this is not a good way to go.&lt;BR /&gt;&lt;BR /&gt;Using tar cvf - mydir | gzip -9 -c &amp;gt; mydir.tar.gz will not create a large intermediary file on current disk.  I believe /tmp will be used by gzip&lt;BR /&gt;&lt;BR /&gt;But getting back to the original problem of "connection reset...", my own experience of HP's NFS has not been great.  I run nightly builds using NFS mounted disks and HP build takes 3-4 times longer that Solaris build.  I know the machines are different, but have tried builds to local disks in other jobs and seen similar performance from HP NFS.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;-Robert-</description>
      <pubDate>Tue, 27 Mar 2001 10:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508592#M595678</guid>
      <dc:creator>Robert O'Brien</dc:creator>
      <dc:date>2001-03-27T10:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508593#M595679</link>
      <description>Thomas you say:&lt;BR /&gt;mount from the new ws the directory i want to copy...so then i will do a local copy and not a remote one...&lt;BR /&gt;that will be possible..i will try..&lt;BR /&gt;I know it is possible to do tar on tape, but it is longer..i'm working remotely...if i have to use tape, i have to go to the ws, mount the tape, do the tar, go to the new ws and so....&lt;BR /&gt;it will be very long...here is a big place..i don't have ws in the same place..they are in different buildings...&lt;BR /&gt;however if nfs doesn't work...i will use tape...&lt;BR /&gt;thanks all again&lt;BR /&gt;regards&lt;BR /&gt;tarek</description>
      <pubDate>Tue, 27 Mar 2001 10:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508593#M595679</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-03-27T10:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508594#M595680</link>
      <description>Robert...it's not an urgent thing to do. Of course if it was..i used the tape..but i wanted to know why only on this ws the tar with remsh failes and gives me that output error. Then, this way is very fast to do...i have just to give a command..and then it will automatically do everything !!!&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 27 Mar 2001 10:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508594#M595680</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-03-27T10:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508595#M595681</link>
      <description>Hi again!&lt;BR /&gt;&lt;BR /&gt;Some questions which may help:&lt;BR /&gt;&lt;BR /&gt;Have you compared /etc/inetd.conf files on your workstations? Are there any differences for remshd?&lt;BR /&gt;Are you using the same shell on each workstation?&lt;BR /&gt;&lt;BR /&gt;Bye, Thomas</description>
      <pubDate>Tue, 27 Mar 2001 11:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2508595#M595681</guid>
      <dc:creator>Thomas Kollig</dc:creator>
      <dc:date>2001-03-27T11:25:38Z</dc:date>
    </item>
  </channel>
</rss>

