<?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 dd for diskcloning in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457330#M12957</link>
    <description>From reading other threads i'm able to use the command "dd if=/dev/rdsk/c0t1d0 of=/dev/rdsk/cot2d0 bs=1024k" to make a clone of a 4 GB disk from one drive to another on our machine, but I get the following error when it completes the copy: &lt;BR /&gt;I/O Error&lt;BR /&gt;4341+0 records in&lt;BR /&gt;4340+1 records out&lt;BR /&gt;The new disk boots ok after I get the message "Filesystem not properly shutdown, beginning file system repair" and it goes through the filesystem repair. Once it boots it looks like everything works ok from what little I've tried. Does anybody know what is going on and if there is anything to be concerned about?&lt;BR /&gt;Thanks,&lt;BR /&gt;Greg</description>
    <pubDate>Tue, 24 Oct 2000 19:38:04 GMT</pubDate>
    <dc:creator>Gregory Hartmann</dc:creator>
    <dc:date>2000-10-24T19:38:04Z</dc:date>
    <item>
      <title>dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457330#M12957</link>
      <description>From reading other threads i'm able to use the command "dd if=/dev/rdsk/c0t1d0 of=/dev/rdsk/cot2d0 bs=1024k" to make a clone of a 4 GB disk from one drive to another on our machine, but I get the following error when it completes the copy: &lt;BR /&gt;I/O Error&lt;BR /&gt;4341+0 records in&lt;BR /&gt;4340+1 records out&lt;BR /&gt;The new disk boots ok after I get the message "Filesystem not properly shutdown, beginning file system repair" and it goes through the filesystem repair. Once it boots it looks like everything works ok from what little I've tried. Does anybody know what is going on and if there is anything to be concerned about?&lt;BR /&gt;Thanks,&lt;BR /&gt;Greg</description>
      <pubDate>Tue, 24 Oct 2000 19:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457330#M12957</guid>
      <dc:creator>Gregory Hartmann</dc:creator>
      <dc:date>2000-10-24T19:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457331#M12958</link>
      <description>Hi Greg,&lt;BR /&gt;&lt;BR /&gt;Your two disks are not exactly the same size.&lt;BR /&gt;&lt;BR /&gt;The last block cannot be completely written to c0t2d0 that's why you get the 4340+1 records out. The +1 means 1 short block.&lt;BR /&gt;&lt;BR /&gt;As to whether there's a problem, I suspect not as if the Physical extent size was 4Mb then that last 1Mb on top of the 4340Mb couldn't have been a valid extent anyway.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;John</description>
      <pubDate>Tue, 24 Oct 2000 19:59:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457331#M12958</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-10-24T19:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457332#M12959</link>
      <description>Gregory:&lt;BR /&gt;Couple of thoughts.&lt;BR /&gt;Looks like the source or destination hard disk has bad blocks.  Use the command &lt;BR /&gt;dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=1024k, to check to see if the command gives the same I/O Error. &lt;BR /&gt;Once again it depends whether the HDD is used as a physcial volume or it is a raw disk. If it is a physical volume and is part of a volume group, the lvm subsystem will take care about bad block relocation. &lt;BR /&gt;&lt;BR /&gt;......Madhu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Oct 2000 20:08:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457332#M12959</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-10-24T20:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457333#M12960</link>
      <description>Gregory:&lt;BR /&gt;Couple of thoughts.&lt;BR /&gt;Looks like the source or destination hard disk has bad blocks.  Use the command &lt;BR /&gt;dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=1024k, to check to see if the command gives the same I/O Error. &lt;BR /&gt;Once again it depends whether the HDD is used as a physcial volume or it is a raw disk. If it is a physical volume and is part of a volume group, the lvm subsystem will take care about bad block relocation. &lt;BR /&gt;&lt;BR /&gt;......Madhu</description>
      <pubDate>Tue, 24 Oct 2000 20:14:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457333#M12960</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-10-24T20:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457334#M12961</link>
      <description>Thanks for the help guys. I tried Madhu's suggestion of doing dd to /dev/null and got&lt;BR /&gt;4341+1 records in, 4341+1 records out for the original disk and 4340+1 records in, 4340+1 records out for the new disk. So is there a way to see if anything is missing on the new disk?&lt;BR /&gt;&lt;BR /&gt;Greg</description>
      <pubDate>Tue, 24 Oct 2000 22:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457334#M12961</guid>
      <dc:creator>Gregory Hartmann</dc:creator>
      <dc:date>2000-10-24T22:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457335#M12962</link>
      <description>If you have space, you can output dd to a file and later use "cmp" to compare both source and destination are same or there is a difference. &lt;BR /&gt;Example : cmp &lt;SOURCEFILE&gt; &lt;DESTINATION-FILE&gt;&lt;BR /&gt;Also you can use xd or od command to see both the files have the same contents. &lt;BR /&gt;&lt;BR /&gt;Enjoy !&lt;BR /&gt;&lt;BR /&gt;......Madhu&lt;/DESTINATION-FILE&gt;&lt;/SOURCEFILE&gt;</description>
      <pubDate>Tue, 24 Oct 2000 22:57:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457335#M12962</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-10-24T22:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457336#M12963</link>
      <description>If you have space, you can output dd to a file and later use "cmp" to compare both source and destination are same or there is a difference. &lt;BR /&gt;Example : cmp &lt;SOURCEFILE&gt; &lt;DESTINATION-FILE&gt;&lt;BR /&gt;Also you can use xd or od command to see both the files have the same contents. &lt;BR /&gt;&lt;BR /&gt;Enjoy !&lt;BR /&gt;&lt;BR /&gt;......Madhu&lt;/DESTINATION-FILE&gt;&lt;/SOURCEFILE&gt;</description>
      <pubDate>Tue, 24 Oct 2000 22:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457336#M12963</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-10-24T22:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457337#M12964</link>
      <description>If you have space, you can output dd to a file and later use "cmp" to compare both source and destination are same or there is a difference. &lt;BR /&gt;Example : cmp &lt;SOURCEFILE&gt; &lt;DESTINATION-FILE&gt;&lt;BR /&gt;Also you can use xd or od command to see both the files have the same contents. &lt;BR /&gt;&lt;BR /&gt;Enjoy !&lt;BR /&gt;&lt;BR /&gt;......Madhu&lt;/DESTINATION-FILE&gt;&lt;/SOURCEFILE&gt;</description>
      <pubDate>Tue, 24 Oct 2000 22:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457337#M12964</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-10-24T22:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457338#M12965</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;when doing a dd from an active disk (think you have done so) then your copied disk needs a fsck because the source was not in an unmounted state. You can do this after dd with: fsck -y /dev/rdsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 25 Oct 2000 10:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457338#M12965</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-10-25T10:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457339#M12966</link>
      <description>Thanks Andreas !. A good suggestion. &lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;......Madhu&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2000 16:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457339#M12966</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-10-25T16:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: dd for diskcloning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457340#M12967</link>
      <description>I tried to "fsck -y /dev/rdsk/c0t2d0" and got&lt;BR /&gt;an error: "bad superblock, magic # wrong", and disk still goes through file repair on bootup. Help!&lt;BR /&gt;&lt;BR /&gt;-Greg</description>
      <pubDate>Wed, 25 Oct 2000 21:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-for-diskcloning/m-p/2457340#M12967</guid>
      <dc:creator>Gregory Hartmann</dc:creator>
      <dc:date>2000-10-25T21:06:54Z</dc:date>
    </item>
  </channel>
</rss>

