Re: cloning a FreeBSD HDD



Patrick Tracanelli wrote this message on Wed, Mar 29, 2006 at 10:14 -0300:
Daniel O'Connor wrote:
On Wednesday 29 March 2006 14:34, M. Warner Losh wrote:

dump + restore is slow but reliabe.


Faster than dd for disks that aren't full :)

It also gives you a defrag as well as allowing you to change FS options.

Yes, pretty much faster for non-full disks, even compared to paralell
dd(1). And we always have the "-L" option to snapshot and dump(1) from
live file systems, what makes it an interesting and completly viable
choice to clone the disks in multiuser mode (no need to go single user).

It is my choice to copy a disk into one other. It is even possible to
copy a disk to a slower one (again, if the source is not full and if the
dst disk have enough space to store all data currently in use in the
source disk), and better (customizable new partitions) results when
copying to a larger second disk, when compared to dd(1).

Though if you are using extended attributes, the dump/restore pair won't
transfer them... :(

--
John-Mark Gurney Voice: +1 415 225 5579

"All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Norton Ghost 2003 cloned disk crashes when booted
    ... choosing the wrong source or target disk during the clone. ... I then connected my source disk (same type and size as the built-in ... Insofar as deleting the partitions on your destination HDD prior to ... the disk cloning operation, this is unnecessary. ...
    (microsoft.public.windowsxp.general)
  • Re: Norton Ghost 2003 cloned disk crashes when booted
    ... Regarding Ghost 2003 I already used a bootable CD and did perfrom the ... choosing the wrong source or target disk during the clone. ... I then connected my source disk (same type and size as the built-in ... the clone was done, everything would be fine when the clone was booted. ...
    (microsoft.public.windowsxp.general)
  • Re: Copying Bootable CD Disk to DVD Disk
    ... > unto a DVD disk. ... > writing software vendors you will solve the boot ... > Whether or not the source disk is simple or complicated, ...
    (microsoft.public.windowsxp.general)
  • Re: Copying Bootable CD Disk to DVD Disk
    ... the objective is to completely and accurately clone a CD disk ... unto a DVD disk. ... Whether or not the source disk is simple or complicated, ... The solution to fixing the boot problem is not to try and figure out how to ...
    (microsoft.public.windowsxp.general)
  • Re: New hard disc
    ... The reason I ask is that when I've previously used Ghost to ... > an image onto a different sized disc it has failed due to the new disc not ... In terms of cloning your source disk to a new disk all ...
    (microsoft.public.windowsxp.general)