Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2005 18:53:08 -0700
From:      "Gayn Winters" <gayn.winters@bristolsystems.com>
To:        "'Craig Deal'" <craig@advantagecomputer.biz>, <freebsd-questions@freebsd.org>
Subject:   RE: Replacing a failing HD
Message-ID:  <007e01c5d44f$de0dabf0$c901a8c0@workdog>
In-Reply-To: <200510181904296.SM01300@craiglaptop>

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

> > Craig Deal wrote:
> > >  
> > > 
> > >>>Hope it's ok to continue this thread, but can you 
> explain in more 
> > >>>detail how to use dd to copy a HD. I read "man dd" and was
> > >>
> > >>unable to
> > >>
> > >>>figure out how this is done.
> > >>>
> > >>>Thanks,
> > >>>Craig
> > >>>
> > >>>_______________________________________________
> > >>>freebsd-questions@freebsd.org mailing list 
> > >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >>>To unsubscribe, send any mail to
> > >>
> > >>"freebsd-questions-unsubscribe@freebsd.org"
> > >>
> > >>This is what I have done in the past.
> > >>
> > >>dd if=/dev/da0 of=/dev/da1 bs=8192b
> > >>
> > >>where da0 is the disk you want to copy and da1 is the new, 
> > blank disk.
> > >>I should also mention that it is wise to do this in single 
> > user mode.  
> > >>I actually have read this somewhere and understand the 
> point of it, 
> > >>but I must also say that I have done it both ways and they 
> > have both 
> > >>worked.
> > >>YMMV  I would have to say it is all dependant and what you have 
> > >>running.
> > >>
> > >>I have done this too many times to count and it is very easy.
> > >>
> > >>peace,
> > >>Bob
> > >>
> > > 
> > > 
> > > I tried this and got the following error:
> > > 
> > > ad0: FAILURE - READ_DMA status=51<READY,DSC,ERROR> 
> > > error=40<UNCORRECTABLE>
> > > LBA=8387712

A couple ideas for dd:

Have you tried bs=512b ?

How about conv=noerror ?


-gayn 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007e01c5d44f$de0dabf0$c901a8c0>