<?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: dd over network in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618393#M553429</link>
    <description>mohannad,&lt;BR /&gt;&lt;BR /&gt;Why not try dd over ssh :&lt;BR /&gt;&lt;BR /&gt;1. Make sure remsh working:&lt;BR /&gt;2. Generate ssh-key for transparent login:&lt;BR /&gt;3. Run dd over ssh:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;To execute from source server:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/vgsapXX/rXA_a11m1    ibs=1024k | ssh target dd  of=/dev/vgsapXX_new/rXA_a11m1  obs=1024k  &amp;gt; 1.out   2&amp;gt;&amp;amp;1   &lt;BR /&gt;# dd if=/dev/vgsapXX/rXA_a11m2    ibs=1024k | ssh target dd  of=/dev/vgsapXX_new/rXA_a11m2  obs=1024k  &amp;gt; 2.out   2&amp;gt;&amp;amp;1   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On successful completion of dd will produce record in /out output: &lt;BR /&gt;2048+0 records out&lt;BR /&gt;2048+0 records in&lt;BR /&gt;&lt;BR /&gt;[ Rare case:   read i/o error happens for any network problem ]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It works well, I have done few TB of data sync over wan.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Have fun!,&lt;BR /&gt;&lt;BR /&gt;Raj.</description>
    <pubDate>Fri, 16 Apr 2010 09:09:55 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2010-04-16T09:09:55Z</dc:date>
    <item>
      <title>dd over network</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618389#M553425</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;im facing a bizzar issue here im trying to clone an oracle 9i cluster data base bettwen two servers im using the dd command in the following manner &lt;BR /&gt;&lt;BR /&gt;dd if=/dev/vg_x/rlvol_y | remsh target dd of=/dev/vg_x/rlvol_y&lt;BR /&gt;&lt;BR /&gt;it keeps returning the error " /dev/vg_x/rlvol_y no such device file or address" &lt;BR /&gt;&lt;BR /&gt;then the error " canot create device file address /dev/vg_x/rlvol_y"&lt;BR /&gt;&lt;BR /&gt;when i excute it to the /dev/null, such as &lt;BR /&gt;dd if=/dev/vg_x/rlvol_y | remsh target dd of=/dev/null&lt;BR /&gt;&lt;BR /&gt;the command works fine, any suggestions ??&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2010 13:27:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618389#M553425</guid>
      <dc:creator>mohannad</dc:creator>
      <dc:date>2010-04-15T13:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: dd over network</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618390#M553426</link>
      <description>Shalom mohannad,&lt;BR /&gt;&lt;BR /&gt;My suggestion is you use a target of a file on the destination system, because the lvm infrastructure on the destination system is not readily visible to the network.&lt;BR /&gt;&lt;BR /&gt;Make it a two step process.&lt;BR /&gt;&lt;BR /&gt;dd to a file on the destination system, then dd again to the appropriate logical volume.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 15 Apr 2010 14:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618390#M553426</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-04-15T14:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: dd over network</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618391#M553427</link>
      <description>hi steve,&lt;BR /&gt;&lt;BR /&gt;thanks for the reply, that hadnt cross my mind you mean to dd to an output file lets say of=/tmp/tmplv then from the if=/tmp/tmplv to of=/dev/vg/rlv, one thing though would that work since the rlv is a device special char file and the temp output file in the first dd command "/tmp/tmplv" would be a standard ascii ??&lt;BR /&gt;&lt;BR /&gt;im not sure of your procedure and at the same time im not sure  if what i said  is true about the output being a standard ascii!!    &lt;BR /&gt;&lt;BR /&gt;another issue if and if it works its still puzzling why it couldnt write to the /dev/vg/rlv while it wrote to the /dev/null i mean there just files on the file system regardless of them being refrences to devices or not since its probing the /dev/null it should be able to probe the target system to which every file system it has &lt;BR /&gt;&lt;BR /&gt;that was alot of questions i think, anyways appreciate ur help on this issue because im not really undersatnding that much &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Fri, 16 Apr 2010 00:29:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618391#M553427</guid>
      <dc:creator>mohannad</dc:creator>
      <dc:date>2010-04-16T00:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: dd over network</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618392#M553428</link>
      <description>Hi,&lt;BR /&gt;first it is always better to specify ibs and obs when dding to a disk over the network&lt;BR /&gt;because the read could return truncated packets&lt;BR /&gt;so use&lt;BR /&gt;dd of=/dev/vg_x/rlvol_y ibs=8k obs=64k&lt;BR /&gt;&lt;BR /&gt;second, test to read and write from the device on the target system itself&lt;BR /&gt;with a &lt;BR /&gt;dd if=/dev/vg_x/rlvol_y bs=64k count=10 of=/tmp/afile&lt;BR /&gt;then rewrite them to the disk&lt;BR /&gt;dd if=/tmp/afile of=/dev/vg_x/rlvol_y bs=64k&lt;BR /&gt;&lt;BR /&gt;If it is ok, what user are you using with remsh?&lt;BR /&gt;you can try a &lt;BR /&gt;remsh target "id;ls -ld /dev/vg_x"&lt;BR /&gt;and check access rights.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Apr 2010 05:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618392#M553428</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2010-04-16T05:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: dd over network</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618393#M553429</link>
      <description>mohannad,&lt;BR /&gt;&lt;BR /&gt;Why not try dd over ssh :&lt;BR /&gt;&lt;BR /&gt;1. Make sure remsh working:&lt;BR /&gt;2. Generate ssh-key for transparent login:&lt;BR /&gt;3. Run dd over ssh:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;To execute from source server:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/vgsapXX/rXA_a11m1    ibs=1024k | ssh target dd  of=/dev/vgsapXX_new/rXA_a11m1  obs=1024k  &amp;gt; 1.out   2&amp;gt;&amp;amp;1   &lt;BR /&gt;# dd if=/dev/vgsapXX/rXA_a11m2    ibs=1024k | ssh target dd  of=/dev/vgsapXX_new/rXA_a11m2  obs=1024k  &amp;gt; 2.out   2&amp;gt;&amp;amp;1   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On successful completion of dd will produce record in /out output: &lt;BR /&gt;2048+0 records out&lt;BR /&gt;2048+0 records in&lt;BR /&gt;&lt;BR /&gt;[ Rare case:   read i/o error happens for any network problem ]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It works well, I have done few TB of data sync over wan.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Have fun!,&lt;BR /&gt;&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 16 Apr 2010 09:09:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618393#M553429</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-04-16T09:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: dd over network</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618394#M553430</link>
      <description>hi laurent, raj &lt;BR /&gt;&lt;BR /&gt;Thanks for your reply i should have mentioned this before remsh target ls /dev/vg_x/lv_y dose return an output and ive tried changing the access to 777 ill try the ibs and ob parameters and I'll post back to you laurent and ill definitly try dd over ssh and post to back to you raj, actually guys i can solve the issue easily using the data protector its just puzzling me,and im trying to understand why its not working like its supposed to, any help in the issue will be appreciated, thanks</description>
      <pubDate>Fri, 16 Apr 2010 23:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618394#M553430</guid>
      <dc:creator>mohannad</dc:creator>
      <dc:date>2010-04-16T23:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: dd over network</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618395#M553431</link>
      <description>change right to 777 should not help. I think raw devices are restricted to root user.</description>
      <pubDate>Sat, 17 Apr 2010 07:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-over-network/m-p/4618395#M553431</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2010-04-17T07:28:12Z</dc:date>
    </item>
  </channel>
</rss>

