Re: Disk Cloning



On Mon, 28 Sep 2009 01:14:44 -0500, Chris <racerx@xxxxxxxxxxxxx> wrote:
Greetings,

Please suggest a cloning method comparable to Clonezilla.

Preferably fast, no need to install a base OS, easy to clone and
restore. Of course, the key is fast.

Clonezilla does a nice job with OS's other than *BSD (It uses dd
(iirc)) and that takes forever (at least when cloning - have not tried
a restore).

Some specs I'm using to compare: A typical restore/save currently with
other OS's using CloneZ takes about 12 minutes with a simple boot from
CD.

The restored/imaged drive is 400 meg sata.

A dump & restore of a 400 MB system should be *very* fast. Copying
files from a read-only USB flash disk easily reaches speeds of more than
20 MB/sec on my laptop. This means that 400 MB of data should take
around 20 seconds to copy from an external USB disk.

If you can attach both disks at the same time, e.g. the source disk as
ad0 and the target disk as ad1, it should take less than 2-3 minutes to:

* Enter single user mode

* Partition and mount ad1 under /mnt

* Use dump(8) to save data from ad0 and restore(8) to copy them over
to ad1.

Even if you cannot attach both disks at the same time, but you can
access the source disk over the network, it should be possible to:

* Install the target disk on the target host (host2).

* Boot from a rescue image (CD-ROM, DVD-ROM or USB).

* Bring up a network interface to access the source host (host1).

* Partition the ad0 disk of the target host (host2). The standard
fdisk(8), bsdlabel(8) or gpart(8) utilities can do this.

* Tunnel dump over ssh:

host2# cd /
host2# ssh operator@host1 'dump -0a -C32 -L -f - /' | restore -rf -

Clonezilla is really nice, because it can take care of partition layout
and sizes automatically. It isn't really _necessary_ to use Clonezilla
to clone an existing system though. The base system of FreeBSD includes
enough tools to do that already.

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Need copy tool for heavily hardlinked disk
    ... just dump to stdout and restore from stdin. ... > cpio handles hard links, but imho rsync is still probably your best ... >> I need a fast hard disk copy tool, ... I would like to use the target disk soon, ...
    (Fedora)
  • Re: Slow XP
    ... Did you update hardware drivers from the manufacturer when you upgraded OS ... When was the last time you checked your hard disk for problems? ... Microsoft has these suggestions for Protecting your computer from the ... The system restore feature is a new one - first appearing in Windows ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: New hard disk
    ... "Reboot after restore". ... Shall I have reformatted the disk prior to booting from the Drive Image ... Image was one of the first to support the use of external SCSI drives. ... Should I have ran Drive Image prior to the Windows restore CD? ...
    (microsoft.public.windowsxp.newusers)
  • Re: user32.dll - error and then Blues Screen c0000135 user32.dll
    ... I do have a PS2 mouse and Keyboard installed so that this menu is usable. ... I did not know that there was a WIn XP Pro CD in the disk drive when i ... work - i.e. bring me to anything tha tlooked like a restore menu .. ... original install.) ...
    (microsoft.public.windowsxp.general)
  • Re: user32.dll - error and then Blues Screen c0000135 user32.dll
    ... I did not know that there was a WIn XP Pro CD in the disk drive when i ... Disable automatic restart on system failure. ... work - i.e. bring me to anything tha tlooked like a restore menu .. ...
    (microsoft.public.windowsxp.general)