Re: How can I speed up a dd copy?

2005-01-14 Thread Nathan Kinkade
On Thu, Jan 13, 2005 at 04:38:14PM -0800, Drumslayer2 wrote:
>  
>  Hello
>  When I am performing a dd between (2) 36 Gig 160
> disks (to duplicate them) it takes about 2.5 hrs. Is
> there any way I can speed this up? Is there any better
> way I can clone a bootable main disk?
> 
>   Thanks
> 
>   NH.

Using dump(8) and restore(8) works well for me and it eliminates the
need that the disks should be the same size.  It may seem like a lot of
work at first, but once you have done it a few times it can be done very
fast.  The benefit being that you don't waste massive amounts of time
copying null blocks from disk to disk.  A few months ago I wrote up a
quick howto for the guys where I work.  I make no guarantee that the
directions are perfect for everyone, but they work fine here.  It also
assumes you are booting to a good installation of 5.x whose version of
dump supports the dumping of "live" filesystems (I don't think the
version with 4.x supported this, or at least not 4.8 - someone correct
me if I'm wrong).  However, you could just as easily boot to one of the
FreeBSD install disks and eliminiate the need for a "live" dump in the
first place.

For reference, you can take a look at the short instructions I wrote up
at:

http://206.27.244.136:8080/ub/cloning.txt

Nathan


pgpFf6C3kZpou.pgp
Description: PGP signature


Re: How can I speed up a dd copy?

2005-01-13 Thread Dan Nelson
In the last episode (Jan 13), Matt Emmerton said:
> >  When I am performing a dd between (2) 36 Gig 160 disks (to
> > duplicate them) it takes about 2.5 hrs. Is there any way I can
> > speed this up? Is there any better way I can clone a bootable main
> > disk?
> 
> A larger blocksize (bs=) will help dramatically.

Also try double-buffering with ports/misc/team or ports/misc/buffer.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I speed up a dd copy?

2005-01-13 Thread Matt Emmerton
>  Hello
>  When I am performing a dd between (2) 36 Gig 160
> disks (to duplicate them) it takes about 2.5 hrs. Is
> there any way I can speed this up? Is there any better
> way I can clone a bootable main disk?

A larger blocksize (bs=) will help dramatically.

--
Matt Emmerton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How can I speed up a dd copy?

2005-01-13 Thread Drumslayer2
 
 Hello
 When I am performing a dd between (2) 36 Gig 160
disks (to duplicate them) it takes about 2.5 hrs. Is
there any way I can speed this up? Is there any better
way I can clone a bootable main disk?

  Thanks

  NH.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"