Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 09:44:35 -0500 (EST)
From:      Peter <petermatulis@yahoo.ca>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>, Kevin Kinsey <kdk@daleco.biz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using dd to Make a Clone of a Drive
Message-ID:  <20060210144435.6572.qmail@web60020.mail.yahoo.com>
In-Reply-To: <20060210102919.GA1056@flame.pc>

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

--- Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:

> On 2006-02-09 18:48, Kevin Kinsey <kdk@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060210144435.6572.qmail>