<?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: copy prblm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546268#M866558</link>
    <description>Hi&lt;BR /&gt;I will say use rdist command. It will keeps all your permissions and ownership unchanged.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# RDist File&lt;BR /&gt;# Run as:&lt;BR /&gt;#   rdist -f filename&lt;BR /&gt;#&lt;BR /&gt;#   To test RDist file:&lt;BR /&gt;#       rdist -n -f filename&lt;BR /&gt;#&lt;BR /&gt;#   To run on selected hosts:&lt;BR /&gt;#       rdist -f filename -m host1 -m host2 ....&lt;BR /&gt;#&lt;BR /&gt;HOSTS = (&lt;BR /&gt;        remotehost&lt;BR /&gt;        )&lt;BR /&gt;&lt;BR /&gt;FILES = (&lt;BR /&gt;        /fs2&lt;BR /&gt;        )&lt;BR /&gt;&lt;BR /&gt;${FILES} -&amp;gt; ${HOSTS}&lt;BR /&gt;        install -i -h -R /fs2;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
    <pubDate>Thu, 28 Jun 2001 11:35:44 GMT</pubDate>
    <dc:creator>Sachin Patel</dc:creator>
    <dc:date>2001-06-28T11:35:44Z</dc:date>
    <item>
      <title>copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546263#M866553</link>
      <description>hi,&lt;BR /&gt;i want to copy one full file sysytem data say /fs1 (/dev/vg00/lvol5)from machine hp1 to machine hp2 on filesystem /fs2(/dev/vg01/lvol6).So what options i can use..&lt;BR /&gt;i thoght of&lt;BR /&gt;cd /fs2 on machine hp1&lt;BR /&gt;then &lt;BR /&gt;hp1&amp;gt;&amp;gt;cd /fs2&lt;BR /&gt;hp1:/fs2&amp;gt;&amp;gt;tar -cvf- . |remsh hp2 dd of=/dev/vg01/lovol6 &lt;BR /&gt;&lt;BR /&gt;eill this work&lt;BR /&gt;2200110034</description>
      <pubDate>Thu, 28 Jun 2001 10:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546263#M866553</guid>
      <dc:creator>dhanish</dc:creator>
      <dc:date>2001-06-28T10:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546264#M866554</link>
      <description>hp1:/fs2&amp;gt;&amp;gt;tar cvf arch.tar * &lt;BR /&gt;#rcp hp2:/path /fs2/arch.tar &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2001 10:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546264#M866554</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-06-28T10:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546265#M866555</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just an idea, but I think that you can use&lt;BR /&gt;remote copy :&lt;BR /&gt;cd /fs1&lt;BR /&gt;rcp -r * hp2:/fs2&lt;BR /&gt;&lt;BR /&gt;Also, you can try something like&lt;BR /&gt;&lt;BR /&gt;cd /fs1&lt;BR /&gt;tar cvf - . | remsh hp2 -l root "cd /fs2 ; tar xvf -"&lt;BR /&gt;(you need a .rhost)&lt;BR /&gt;&lt;BR /&gt;HTH &lt;BR /&gt;&lt;BR /&gt;Herv?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2001 10:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546265#M866555</guid>
      <dc:creator>Herve BRANGIER</dc:creator>
      <dc:date>2001-06-28T10:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546266#M866556</link>
      <description>i'd do like the following:&lt;BR /&gt;&lt;BR /&gt;cd /fs1 on machine hp1 &lt;BR /&gt;tar cf . | remsh hp2 "cd /fs2 &amp;amp;&amp;amp; tar xf -"&lt;BR /&gt;&lt;BR /&gt;On hp2 in your $HOME/.rhosts insert:&lt;BR /&gt;hp1 your-account &lt;BR /&gt;&lt;BR /&gt;Federico</description>
      <pubDate>Thu, 28 Jun 2001 11:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546266#M866556</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-06-28T11:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546267#M866557</link>
      <description>Herv?s suggestion will work, your example wont.&lt;BR /&gt;rcp will work once the .rhosts is configured and the hostname can be looked up.&lt;BR /&gt;&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 28 Jun 2001 11:35:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546267#M866557</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-28T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546268#M866558</link>
      <description>Hi&lt;BR /&gt;I will say use rdist command. It will keeps all your permissions and ownership unchanged.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# RDist File&lt;BR /&gt;# Run as:&lt;BR /&gt;#   rdist -f filename&lt;BR /&gt;#&lt;BR /&gt;#   To test RDist file:&lt;BR /&gt;#       rdist -n -f filename&lt;BR /&gt;#&lt;BR /&gt;#   To run on selected hosts:&lt;BR /&gt;#       rdist -f filename -m host1 -m host2 ....&lt;BR /&gt;#&lt;BR /&gt;HOSTS = (&lt;BR /&gt;        remotehost&lt;BR /&gt;        )&lt;BR /&gt;&lt;BR /&gt;FILES = (&lt;BR /&gt;        /fs2&lt;BR /&gt;        )&lt;BR /&gt;&lt;BR /&gt;${FILES} -&amp;gt; ${HOSTS}&lt;BR /&gt;        install -i -h -R /fs2;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Thu, 28 Jun 2001 11:35:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546268#M866558</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-06-28T11:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546269#M866559</link>
      <description>&lt;BR /&gt;  Hi&lt;BR /&gt;&lt;BR /&gt;   U have got a number of solution. OK, Good. But I am asking that why don't U try through NFS. I will list out the procedure.&lt;BR /&gt;&lt;BR /&gt;U have HP1 system with fs1 file system and HP2 server with fs2 file system.&lt;BR /&gt;&lt;BR /&gt;U want to transfer fs1 data of HP1 to fs2 of HP2.&lt;BR /&gt;&lt;BR /&gt;First in HP1.&lt;BR /&gt;&lt;BR /&gt;IF NFS server service is not running&lt;BR /&gt;#cd /etc&lt;BR /&gt;#cd rc.config.d&lt;BR /&gt;#vi nfsconf&lt;BR /&gt;&lt;BR /&gt;Change the value of NFS-SERVER variable to 1&lt;BR /&gt;&lt;BR /&gt;make sure that both machines are pinging each other by using host name. If not do changes in /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;#cd /sbin/init.d&lt;BR /&gt;#./nfs.server start&lt;BR /&gt;#exportfs -o root=HP2 -i /fs1  (see man page of exportfs)&lt;BR /&gt;#exportfs  (now it should show /fs1 in list)&lt;BR /&gt;&lt;BR /&gt;Now go to HP2&lt;BR /&gt;&lt;BR /&gt;Check up nfsclient service is running or not.&lt;BR /&gt;If not&lt;BR /&gt;#cd /etc/rc.config.d&lt;BR /&gt;#nfsconf&lt;BR /&gt;&lt;BR /&gt;Change the value NFS_CLIENT variable to 1&lt;BR /&gt;&lt;BR /&gt;#cd /sbin/init.d&lt;BR /&gt;#nfs.client start&lt;BR /&gt;#cd /&lt;BR /&gt;#mkdir /HP1fs1&lt;BR /&gt;#mount hp1:/fs1 /HP1fs1&lt;BR /&gt;#cd HP1fs1&lt;BR /&gt;#find . -xdev -depth -print | cpio -pxdm /fs2&lt;BR /&gt;&lt;BR /&gt;U can use cp -r command also, as ur wish.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;&lt;BR /&gt;Shahul&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2001 12:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546269#M866559</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2001-06-28T12:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546270#M866560</link>
      <description>Hi nitin,&lt;BR /&gt;&lt;BR /&gt;consider S1 and S2 (server one and two ) and you want to copy the entire file system /fs1 from S1 to S2, do the following :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. Login into S2 server.&lt;BR /&gt;2. Edit the $HOME/.rhosts and put in it a line like the following for example:&lt;BR /&gt;&lt;BR /&gt;S1 root&lt;BR /&gt;&lt;BR /&gt;3. This allow root user to execute remote commands from server S1 on server S2.&lt;BR /&gt;&lt;BR /&gt;4. Log to S1 and execute on server S1 the following command :&lt;BR /&gt;&lt;BR /&gt;rcp -rp /fs1 S2:/&lt;BR /&gt;&lt;BR /&gt;this will create directory /fs1 (and all its subdirectories) on S2 with the same ownership, last modification date and time.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2001 13:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546270#M866560</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-06-28T13:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: copy prblm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546271#M866561</link>
      <description>Hi, &lt;BR /&gt;If you r using rcp -pr or find to copy you should check the .* files are copied to the destination. I have encountered the problem with both rcp and find while x'fering files within system and to remote system.&lt;BR /&gt;&lt;BR /&gt;Goodluck.</description>
      <pubDate>Thu, 28 Jun 2001 14:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-prblm/m-p/2546271#M866561</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2001-06-28T14:38:42Z</dc:date>
    </item>
  </channel>
</rss>

