<?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: CPIO command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847442#M92539</link>
    <description>I use it all the time to move user around from local machine to server and vice versa. It's very effective for a one time move ie copying to a destination system where the files/dirs does not exist yet. In my example I used "-u" in the cpio to copy unconditionally because I'm assuming you're doing a fresh copy. If destination files existed and with a newer timestamp and you do not want to overwrite it , don't use "-u". This operation does not in any way delete or modify your source files/directories.</description>
    <pubDate>Tue, 19 Nov 2002 04:17:42 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-11-19T04:17:42Z</dc:date>
    <item>
      <title>CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847434#M92531</link>
      <description>I have machine A and machine B for my case. Machine A exported one filesystem to Machine B and B need to copy (with permission and owner) all the files in this nfs mounted filesystem (A) into B local filesystem. So, please guide me how to use cpio to copy the files into my local filesystem. Thanks.</description>
      <pubDate>Tue, 19 Nov 2002 01:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847434#M92531</guid>
      <dc:creator>Kenn Chen_1</dc:creator>
      <dc:date>2002-11-19T01:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847435#M92532</link>
      <description>&lt;BR /&gt;rcp -rp systemA:/SOURCE_filesystem systemB:/TARGET_filesystem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NFS would be a waste of time!! And cpio would be a waste of computer cycles, when a straight data copy is needed!&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 19 Nov 2002 01:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847435#M92532</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-11-19T01:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847436#M92533</link>
      <description>Harry is correct, a 'rcp' would be better.....&lt;BR /&gt;&lt;BR /&gt;But...&lt;BR /&gt;&lt;BR /&gt;if you really want to do it. e.g&lt;BR /&gt;# cd /mynfsfs&lt;BR /&gt;# find . -xdev | cpio -pdumv /mynewdir</description>
      <pubDate>Tue, 19 Nov 2002 01:48:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847436#M92533</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-19T01:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847437#M92534</link>
      <description>But i need to remain the link of all files as well. rcp can do it ?</description>
      <pubDate>Tue, 19 Nov 2002 02:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847437#M92534</guid>
      <dc:creator>Kenn Chen_1</dc:creator>
      <dc:date>2002-11-19T02:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847438#M92535</link>
      <description>The options provided by Harry will do this.&lt;BR /&gt;&lt;BR /&gt;# rcp -rp&lt;BR /&gt;&lt;BR /&gt;If in doubt have a look at the man page on 'rcp' for clarification.</description>
      <pubDate>Tue, 19 Nov 2002 02:01:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847438#M92535</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-19T02:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847439#M92536</link>
      <description>You don't really need to mount the FS for you to be able to cpio between systems (while retaining the files/dirs permission/ownership and sym links). Let say you need to copy everything under /opt/dirA from serverA to /opt/dirB on serverB. First setup appropriate .rhosts entry to make sure root on serverA can remsh to serverB. Then run this from serverA. &lt;BR /&gt;# cd /opt/dirA &lt;BR /&gt;# (find . -xdev|cpio -coax)|remsh serverB "cd /opt/dirB;cpio -icdmuxla" &lt;BR /&gt;That should do it. I suggest trying it out first with some dummy directory/files to make sure you're comfortable with it before doing the actual cpio.</description>
      <pubDate>Tue, 19 Nov 2002 03:33:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847439#M92536</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-11-19T03:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847440#M92537</link>
      <description>Mr chan,&lt;BR /&gt;&lt;BR /&gt;I like your way and it will not effect my source system...right ? I means my cpio will not delete or modify any files on my source system ?</description>
      <pubDate>Tue, 19 Nov 2002 03:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847440#M92537</guid>
      <dc:creator>Kenn Chen_1</dc:creator>
      <dc:date>2002-11-19T03:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847441#M92538</link>
      <description>cp -rp won't that do the task.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;THanks</description>
      <pubDate>Tue, 19 Nov 2002 03:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847441#M92538</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-19T03:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847442#M92539</link>
      <description>I use it all the time to move user around from local machine to server and vice versa. It's very effective for a one time move ie copying to a destination system where the files/dirs does not exist yet. In my example I used "-u" in the cpio to copy unconditionally because I'm assuming you're doing a fresh copy. If destination files existed and with a newer timestamp and you do not want to overwrite it , don't use "-u". This operation does not in any way delete or modify your source files/directories.</description>
      <pubDate>Tue, 19 Nov 2002 04:17:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847442#M92539</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-11-19T04:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847443#M92540</link>
      <description>I got this error during the command&lt;BR /&gt;&lt;BR /&gt;N4000 / HP :root/opt&amp;gt;(find . -xdev|cpio -coax)|remsh k460 "cd /opt;cpio -icdmuxla"&lt;BR /&gt;cannot unlink current &lt;HPARRAY&gt; (errno:26)&lt;BR /&gt;Cannot create &lt;HPARRAY&gt; (errno:26)&lt;BR /&gt;cannot unlink current &lt;PRED&gt; (errno:26)&lt;BR /&gt;Cannot create &lt;PRED&gt; (errno:26)&lt;BR /&gt;cannot unlink current &lt;PRED&gt; (errno:26)&lt;BR /&gt;Cannot create &lt;PRED&gt; (errno:26)&lt;BR /&gt;1607610 blocks&lt;BR /&gt;1607610 blocks&lt;BR /&gt;&lt;/PRED&gt;&lt;/PRED&gt;&lt;/PRED&gt;&lt;/PRED&gt;&lt;/HPARRAY&gt;&lt;/HPARRAY&gt;</description>
      <pubDate>Tue, 19 Nov 2002 05:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847443#M92540</guid>
      <dc:creator>Kenn Chen_1</dc:creator>
      <dc:date>2002-11-19T05:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847444#M92541</link>
      <description>Error no 26 is Text file busy.&lt;BR /&gt;&lt;BR /&gt;Probably those files are used by some processes.&lt;BR /&gt;you have to shutdown those processes for to prevent these messages&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 19 Nov 2002 05:35:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847444#M92541</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-19T05:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847445#M92542</link>
      <description>probably the processes are the disk array daemon processes.&lt;BR /&gt;They are in /opt/pred/bin.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Nov 2002 05:45:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847445#M92542</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-19T05:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847446#M92543</link>
      <description>The error you're getting probably indicate that those files are active and in used. Why would you want to copy everything under /opt to another system ? I was under the impression you will be copying data or specific application.</description>
      <pubDate>Tue, 19 Nov 2002 05:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847446#M92543</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-11-19T05:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847447#M92544</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;cpio only limited to 2 GB size ? I want to cpio 30 GB filesystem to remote machine. Possible ?</description>
      <pubDate>Tue, 19 Nov 2002 07:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847447#M92544</guid>
      <dc:creator>Kenn Chen_1</dc:creator>
      <dc:date>2002-11-19T07:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847448#M92545</link>
      <description>The cpio that is shipped with HP is limited to 2Gb *per file*. The complete archive (or throughput) has no limit, because it is a stream.&lt;BR /&gt;&lt;BR /&gt;GNU cpio lifts the 2Gb/file limit. GNU cpio is - amongst a lot of other sites - available from my ITRC page on &lt;A href="https://www.beepz.com/personal/merijn/" target="_blank"&gt;https://www.beepz.com/personal/merijn/&lt;/A&gt;</description>
      <pubDate>Tue, 19 Nov 2002 07:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2847448#M92545</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-11-19T07:38:24Z</dc:date>
    </item>
  </channel>
</rss>

