Re: Disk cloning script...

From: Bev A. Kupf (bevakupf_at_myhome.net)
Date: 04/10/05


Date: Sat, 09 Apr 2005 23:25:11 GMT

On Sat, 09 Apr 2005 15:51:45 -0700,
    Michael Pelletier (mjpelletier@mjpelletier.com) wrote:
>> Hmm... `dd if=/dev/hda of=hda.dump' isn't sufficient?
>>
>
> Here is the situation. I have two disks let's say ad0 and ad1. How could I
> use the dd command to mirror disk ad0 to disk ad1? I have a disk that I
> think will go bad (acd0) and need to mirror it to a new disk (acd1) before
> it dies...

You would use something like: `dd if=/dev/acd0 of=/dev/acd1 bs=512`
However, if you think that acd0 is failing, you should really take
a look at dd_rescue <http://www.garloff.de/kurt/linux/ddrescue/>

Beverly

-- 
Many a smale maketh a grate -- Geoffrey Chaucer