Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2009 21:27:37 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        PJ <af.gourmet@videotron.ca>, freebsd-questions@freebsd.org
Subject:   Re: backups & cloning
Message-ID:  <alpine.BSF.2.00.0909292124180.45380@wonkity.com>
In-Reply-To: <20090930050805.7f9d7252.freebsd@edvax.de>
References:  <4AC29BE6.4000505@videotron.ca> <20090930023051.cff2b0b4.freebsd@edvax.de> <4AC2C104.7090206@videotron.ca> <20090930050805.7f9d7252.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Sep 2009, Polytropon wrote:

> Forgot to mention this:
>
>
> On Tue, 29 Sep 2009 22:23:00 -0400, PJ <af.gourmet@videotron.ca> wrote:
>> 1. will the s1a slice dump the entire system, that is, the a, d, e, f
>> and g slices or is it partitions?
>
> The ad0s1 slice (containing the a, d, e, f and g partitions) can
> be copied 1:1 with dd. By using dump + restore, the partitions
> need to be copied after another. In each case, the entire system
> will be copied. For this purpose, even the long lasting
>
> 	# dd if=/dev/ad0 of=/dev/da0 bs=1m

This copies everything on the disk, including sectors not used by a 
filesystem.  So it usually takes a while.

> 	# dd if=/dev/ad0 of=/dev/da0 bs=512 count=1

Not necessary, the first block was already copied, well, first.

-Warren Block * Rapid City, South Dakota USA



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