From owner-freebsd-questions@FreeBSD.ORG Wed Sep 30 03:27:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A71D81065672 for ; Wed, 30 Sep 2009 03:27:41 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id EF1F88FC16 for ; Wed, 30 Sep 2009 03:27:40 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n8U3RbkA045450; Tue, 29 Sep 2009 21:27:37 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n8U3Rbti045447; Tue, 29 Sep 2009 21:27:37 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 29 Sep 2009 21:27:37 -0600 (MDT) From: Warren Block To: Polytropon In-Reply-To: <20090930050805.7f9d7252.freebsd@edvax.de> Message-ID: References: <4AC29BE6.4000505@videotron.ca> <20090930023051.cff2b0b4.freebsd@edvax.de> <4AC2C104.7090206@videotron.ca> <20090930050805.7f9d7252.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Tue, 29 Sep 2009 21:27:37 -0600 (MDT) Cc: PJ , freebsd-questions@freebsd.org Subject: Re: backups & cloning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 03:27:41 -0000 On Wed, 30 Sep 2009, Polytropon wrote: > Forgot to mention this: > > > On Tue, 29 Sep 2009 22:23:00 -0400, PJ 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