From owner-freebsd-questions@FreeBSD.ORG Wed Sep 30 15:31:04 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 3F3381065697 for ; Wed, 30 Sep 2009 15:31:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 052FE8FC1B for ; Wed, 30 Sep 2009 15:31:03 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n8UFUx4O027531; Wed, 30 Sep 2009 11:30:59 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n8UFUxaq027530; Wed, 30 Sep 2009 11:30:59 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 30 Sep 2009 11:30:58 -0400 From: Jerry McAllister To: Polytropon Message-ID: <20090930153058.GC27266@gizmo.acns.msu.edu> References: <4AC29BE6.4000505@videotron.ca> <20090930023051.cff2b0b4.freebsd@edvax.de> <4AC2C104.7090206@videotron.ca> <20090930050805.7f9d7252.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090930050805.7f9d7252.freebsd@edvax.de> User-Agent: Mutt/1.4.2.2i 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 15:31:04 -0000 On Wed, Sep 30, 2009 at 05:08:05AM +0200, 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 > # dd if=/dev/ad0 of=/dev/da0 bs=512 count=1 > > method can be used. > It can be used, but it is not a good way to do it. That is because it copies sector by sector and the new disk/filesystem may not match the old exactly. Besides when it is newly written on a file by file basis, it can be more efficiently laid out and accomodate any changes in size and sector addressing. dd cannot do that. ////jerry > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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"