<?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: Disk Cloning using Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991869#M4998</link>
    <description>Use dd to do a low-level copy like this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/hdb of=/dev/hdc bs=64k&lt;BR /&gt;&lt;BR /&gt;Depending on available memory, you can increase the bs (blocksize) parameter.&lt;BR /&gt;&lt;BR /&gt;dd is best used when copying disk images. See the dd manpage for more info.</description>
    <pubDate>Mon, 09 Jun 2003 02:49:34 GMT</pubDate>
    <dc:creator>Bill Douglass</dc:creator>
    <dc:date>2003-06-09T02:49:34Z</dc:date>
    <item>
      <title>Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991868#M4997</link>
      <description>Hi&lt;BR /&gt;lets say I want to clone a hard disk to another identical disk using Linux. This is how I plan to do it.&lt;BR /&gt;&lt;BR /&gt;1. Setup a system in the following manner&lt;BR /&gt;hda : Red Hat 8.0&lt;BR /&gt;hdb : Disk I want to clone&lt;BR /&gt;hdc : Disk I want to clone to&lt;BR /&gt;&lt;BR /&gt;2. Copy the contents from hdb to hdc using the commands&lt;BR /&gt;&lt;BR /&gt;cp /dev/hdb /dev/hdc&lt;BR /&gt;&lt;BR /&gt;Will this work?</description>
      <pubDate>Mon, 09 Jun 2003 02:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991868#M4997</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2003-06-09T02:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991869#M4998</link>
      <description>Use dd to do a low-level copy like this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/hdb of=/dev/hdc bs=64k&lt;BR /&gt;&lt;BR /&gt;Depending on available memory, you can increase the bs (blocksize) parameter.&lt;BR /&gt;&lt;BR /&gt;dd is best used when copying disk images. See the dd manpage for more info.</description>
      <pubDate>Mon, 09 Jun 2003 02:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991869#M4998</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-06-09T02:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991870#M4999</link>
      <description>I think the dd command is the way to go.  You can however boot your system with a windows 98 boot disk and a different disk containing Norton Ghost and duplicate disks quite nicely.&lt;BR /&gt;&lt;BR /&gt;I use it as a substitute in Linux to Ignite backups which I use in HP-UX.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Jun 2003 02:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991870#M4999</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-09T02:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991871#M5000</link>
      <description>"dd" wastes a great deal of space. I suggest you PartImage (&lt;A href="http://www.partimage.org/)" target="_blank"&gt;http://www.partimage.org/)&lt;/A&gt; as more intellegent backup solution.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jun 2003 06:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991871#M5000</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-06-09T06:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991872#M5001</link>
      <description>On your specs, be aware that your disks are not bootable.&lt;BR /&gt;I would stick on the dd command, which can be not space water if you use the right argument on it. Have a man dd for details, but to be short don't use bs unless you know hdb sector and block size (if so, use it !), and if both disks are the same, and don't use sync to avoir blanc octects and space wasting.&lt;BR /&gt;hth&lt;BR /&gt;J</description>
      <pubDate>Mon, 09 Jun 2003 11:01:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991872#M5001</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-06-09T11:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991873#M5002</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;If the disks in the same size you can&lt;BR /&gt;use "dd".&lt;BR /&gt;&lt;BR /&gt;If not you can do this (in the end you can&lt;BR /&gt;write a script that will do this)&lt;BR /&gt;What you need to do is to build the hdc&lt;BR /&gt;just like the hdb, you can do it by "sfdisk"&lt;BR /&gt;after you need to mount the whole tree of hdb&lt;BR /&gt;and hdc and copy the hdb tree to hdc tree&lt;BR /&gt;(by cp, cpio, tar or dump)&lt;BR /&gt;after you will finish the copy made&lt;BR /&gt;put the hdc disk as the hda&lt;BR /&gt;but with the rescue disk, mount the whole&lt;BR /&gt;tree and install the boot loader (lilo/grub) &lt;BR /&gt;If you want to put the disk as hdb/hdc etc.&lt;BR /&gt;you will need to change the /etc/fstab for.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Mon, 09 Jun 2003 19:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991873#M5002</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-09T19:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991874#M5003</link>
      <description>Here is another way:&lt;BR /&gt;&lt;BR /&gt;fdisk /dev/hdc --&amp;gt; Make same partitions as hdb.&lt;BR /&gt;mk(whateverfs you want on your new disk) /dev/hdc[1-X]&lt;BR /&gt;mount /dev/hdc[1-X] /mnt/[1-X]&lt;BR /&gt;Do this for each of the partition &lt;BR /&gt;&lt;BR /&gt;cd (root of fs to copy from) &lt;BR /&gt;find . |cpio -pdumv (destination mountpoint) &lt;BR /&gt;&lt;BR /&gt;if it is a bootable disk:&lt;BR /&gt;chroot (directory of where new / is, make sure that new /boot is mounted correctly relative to new / ) &lt;BR /&gt;edit /etc/fstab (in chrooted env) to fit the new disk names a.s.o.)&lt;BR /&gt;edit lilo.conf/grub.conf and run lilo/grub-install.&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2003 09:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991874#M5003</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2003-06-11T09:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991875#M5004</link>
      <description>In my experience, i always use dd to clone whole disk bit by bit as:&lt;BR /&gt;dd if=/dev/hdb of=/dev/hdc bs=1024k&lt;BR /&gt;because dd will scan whole disk, therefore it may use relatively long time even you only use 10% of the diskspace. to save time insuch situation, you can consider using cpio or tar. &lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2003 12:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991875#M5004</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-06-11T12:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991876#M5005</link>
      <description>Hi Twang,&lt;BR /&gt;You mean to get an image, I could actually do&lt;BR /&gt;&lt;BR /&gt;tar -cvzf image.tar.gz /dev/hdb&lt;BR /&gt;&lt;BR /&gt;and when I need to clone to another hard drive /dev/hdc&lt;BR /&gt;&lt;BR /&gt;tar -xvzf image.tar.gz - &amp;gt;&amp;gt; /dev/hdc&lt;BR /&gt;&lt;BR /&gt;I just untar the image and output the data to /dev/hdc?&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 03:55:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991876#M5005</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2003-06-12T03:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991877#M5006</link>
      <description>Hi Kenny,&lt;BR /&gt;Share my experience, sometimes i need to clone data or application from our production environment to another test machine, in such case i usually break the disk mirror and use those disks on test environment. &lt;BR /&gt;Sometimes, i only to copy the data from production system to test system. if this is the case, i usually use dd to clone whole disk or i use cpio to copy the datafiles only.&lt;BR /&gt;&lt;BR /&gt;Hope the experience could help. &lt;BR /&gt;twang</description>
      <pubDate>Thu, 12 Jun 2003 04:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991877#M5006</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-06-12T04:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Cloning using Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991878#M5007</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;tar -cvzf image.tar.gz /dev/hdb &lt;BR /&gt;&lt;BR /&gt;will give you a gzipped tar file with only the /dev/hdb DEVICE-FILE, not the contents of it.&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 06:11:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disk-cloning-using-linux/m-p/2991878#M5007</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2003-06-12T06:11:56Z</dc:date>
    </item>
  </channel>
</rss>

