Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 15:46:43 +0930 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Edwin Culp <eculp@EnContacto.Net>
Cc:        freebsd-mobile@FreeBSD.ORG, kjerste soderberg <kjerstes@yahoo.com>
Subject:   Re: cloning laptop drives
Message-ID:  <XFMail.20010928154643.doconnor@gsoft.com.au>
In-Reply-To: <1001642875.3bb3db7b8c24b@Mail.SavvyWorld.Net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 28-Sep-2001 Edwin Culp wrote:
>  AFAIK, the default for dd is one block at a time and that can take for ever.
>  You need to define the block size to something much larger.  I have seen
>  some
>  cool formulas based on disk geometry but I never seem to remember them when
>  I need them.:-(  You might try something like
>  
>  dd if=/dev/ad0 of=/dev/ad1 bs=8192
>  
>  Hopefully someone will give you a better number.

I usually pick 64k when doing this..

Also, if those drives are on the same chain the performance is going to suck
really hard..

If you hit 'ctrl-t' you will get some info on dd's progress, and if you run
'systat -vmstat 1' and look at the bottom section you'll see the transfer
speeds.

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010928154643.doconnor>