|
|
Drive Copy Via dd in the Command Line
|
|
|
|
Forum Regular
Join Date: Aug 2000
Location: OKC, OK USA
Status:
Offline
|
|
Okay, I have been experiencing problems with a RAID set up and wanted to do a byte for byte copy of one 160 GB drive to another. After a little research, I settled on using dd from the cli.
I first unmounted the destination volume and was booted to another volume (drive) before issuing the following command.
sudo dd if=/dev/rdisk3 of=/dev/rdisk2s3 ibs=1m
I used the 'r' to treat the drive as a stream of data and increased the ibs to speed the process.
Now, can someone in the know tell me how long such a process should take. The drives in question are 160 GB Maxtor 7200 RPM drives. Rounded up the the nearest hour would be great. Also, will the cli return something stating the process has completed or will the cursor just start blinking again to indicate its done with the command?
Thanks,
coitus
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Jun 2002
Status:
Offline
|
|
Off the top of my head, depending on how fast your drive is, I'd say about 4-6 hours. I may be totally wrong, but thats just an educated guess.
Thanks,
Oliver
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Aug 2000
Location: OKC, OK USA
Status:
Offline
|
|
Is there a way to ammend the command so that it prints either hash-marks as its working or returns some type of command when its finished. I basically left it alone for 12-hours and it did complete the copy but there's got to be a better way than guessing.
Thanks,
Curtis
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jul 2002
Location: Norway
Status:
Offline
|
|
Where do you find where devices are located ? Like "/dev/rdisk3" where do I get that information ?
|
Mac Pro 2 x 2.8 GHz Quad-Core, Nvidia GeForce 8800GT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|