Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 19:07:55 -0700
From:      Edwin Culp <eculp@EnContacto.Net>
To:        kjerste soderberg <kjerstes@yahoo.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: cloning laptop drives
Message-ID:  <1001642875.3bb3db7b8c24b@Mail.SavvyWorld.Net>
In-Reply-To: <20010928015910.25782.qmail@web9707.mail.yahoo.com>
References:  <20010928015910.25782.qmail@web9707.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

ed

Quoting kjerste soderberg <kjerstes@yahoo.com>:

| sanity check, pls tell me if this is right
| 
| In short; booting off of ad0 and want to clone ad1
| ad1 is blank and is IDENTICAL (SAME SIZE & GEOMETRY &
| MFR ) drive as ad0
| 
| can I be root and do?
| 
| dd if=/dev/ad0 of=/dev/ad1
| 
| running FBSD 4.3-REL
| 
| tried it and it seeems to just sit there forever, dd
| never comes back, the red LED drive light lights up
| and stays lit BUT no activity on it, I mean it doesn't
| hang or anything & I can ctrl-C out of it but it
| doesn't work?? I do top and dd isn't even there ..
| 
| Should I drop out of multi-user into single-user
| mode??
| (I gotta hit the handbook on how to do that..) or
| something like that? I must be missin somethin here..
| 
| 
| Thanx for ANY & ALL help !
| 
| __________________________________________________
| Do You Yahoo!?
| Listen to your Yahoo! Mail messages from any phone.
| http://phone.yahoo.com
| 
| To Unsubscribe: send mail to majordomo@FreeBSD.org
| with "unsubscribe freebsd-mobile" in the body of the message
| 




---

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?1001642875.3bb3db7b8c24b>