Using dd to Make a Clone of a Drive
Peter
petermatulis at yahoo.ca
Fri Feb 10 06:44:42 PST 2006
--- Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> On 2006-02-09 18:48, Kevin Kinsey <kdk at daleco.biz> wrote:
> >Giorgos Keramidas wrote:
> >> Bah! That's too slow for my taste. I would usually go for a newfs,
> >> dump, and restore option. For instance, to create a copy of /usr on
> a
> >> second disk:
> >>
> >> newfs -U /dev/ad1s1a
> >> mount /dev/ad1s1a /mnt
> >> dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - )
> >>
> >> Copying with dd(1) is not as fast :)
> >
> > Sorry to butt in --- but I'm needing to start cloning too. Looks
> > like a winner to me ... wouldn't this have the added advantage
> > of making "same size and geometry" (cf. Erik Trulsson, 4 hours ago,
> > this thread) less relevant?
>
> Yes, this is pretty much the important point :)
>
> > As long as the "new" slice had enough space, geometry shouldn't
> > matter to dump|restore .... <?>
>
> Right :) It also allows restoring in a different partition layout.
>
Any chance of there being a way like this to restore to windows systems
from the FreeBSD box?
__________________________________________________________
Find your next car at http://autos.yahoo.ca
More information about the freebsd-questions
mailing list