<?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 script to copy boot disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979998#M121985</link>
    <description>David,&lt;BR /&gt;&lt;BR /&gt;You might even try raising the bs value to 2048k or 4096k, just to see if it improves the performance but, in any case, you should be fine.  Just make sure you use the raw device.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 22 May 2003 15:40:00 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-05-22T15:40:00Z</dc:date>
    <item>
      <title>dd script to copy boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979996#M121983</link>
      <description>Just to add even more integrity to my system, I plan to do a raw disk copy of my boot disk using dd. My question is regarding block size. I will be trying the following:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rdsk/c1t2d0 of=/dev/rdsk/c2t2d0 bs=1024k&lt;BR /&gt;&lt;BR /&gt;This works fine on other servers that have 4.3 GB and 9 GB disks. My concern is will this be a problem on a 36 GB disk or does it even matter? When running diskinfo the sector size 512 bytes.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;David Owens&lt;BR /&gt;</description>
      <pubDate>Thu, 22 May 2003 15:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979996#M121983</guid>
      <dc:creator>David Owens_1</dc:creator>
      <dc:date>2003-05-22T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: dd script to copy boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979997#M121984</link>
      <description>Hi David:&lt;BR /&gt;&lt;BR /&gt;Overall disk capacity doesn't matter.  What matters is that you copy data in integer multiples of the disk sector size.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 22 May 2003 15:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979997#M121984</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-05-22T15:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: dd script to copy boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979998#M121985</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;You might even try raising the bs value to 2048k or 4096k, just to see if it improves the performance but, in any case, you should be fine.  Just make sure you use the raw device.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 22 May 2003 15:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979998#M121985</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-22T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: dd script to copy boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979999#M121986</link>
      <description>The main thing is you have to use raw device files. The block size doesn't matter as long as you use a multiple of the secor size (which is 512). You can try different block sizes and choose the best one that suites for you.</description>
      <pubDate>Thu, 22 May 2003 15:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2979999#M121986</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-05-22T15:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: dd script to copy boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2980000#M121987</link>
      <description>As long as the source/dest disks are the same capacity and you use a blocksize that is a multiple of 512 then the copy will succeed. If you are doing this "online" then you want the copy to be as fast as possible to minimize the changes/corruption of the destination filesystem(s). Typically, I find that bs=4000k is a good overall value. The OS will divide this operation into smaller chunks anyway.&lt;BR /&gt;&lt;BR /&gt;If you do need to boot from this disk, be prepared for fsck's. They are completely normal and expected as the filesystems were not umounted and marked "clean". I've never had one of these fail to boot.&lt;BR /&gt;&lt;BR /&gt;The best advice that I can give you is to choose time when the system is quiescent as possible; for me that's 0300 on Sundays.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 May 2003 15:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-script-to-copy-boot-disk/m-p/2980000#M121987</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-05-22T15:43:32Z</dc:date>
    </item>
  </channel>
</rss>

