From owner-freebsd-questions@FreeBSD.ORG Sun Mar 12 16:06:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF2E616A402 for ; Sun, 12 Mar 2006 16:06:10 +0000 (GMT) (envelope-from mj001@rogers.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 2186743D48 for ; Sun, 12 Mar 2006 16:06:09 +0000 (GMT) (envelope-from mj001@rogers.com) Received: (qmail 47014 invoked from network); 12 Mar 2006 16:06:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=RHomlwr/OPpZvD6/jid3Ge3uICsrRwxT5s/lbDpu61y8+EaXKynj39Xkqt0chJNQ/5nzKGixOFXIm89X31acb3YjsvfqyS8njOipK7rfUoE9izvuTFZzQILyGgHW0sXC+cgcD3bTBl4345ly18EmRZ0s+1vxF5jbBzb3r8RcrnU= ; Received: from unknown (HELO chaucer.jeays.ca) (mj001@rogers.com@72.139.51.96 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 12 Mar 2006 16:06:08 -0000 From: Mike Jeays To: Andrew Pantyukhin In-Reply-To: References: <001901c64517$9d891950$6701a8c0@GRANT> <44138FC9.30900@daleco.biz> <20060312105141.K18712@chylonia.3miasto.net> Content-Type: text/plain Date: Sun, 12 Mar 2006 11:06:02 -0500 Message-Id: <1142179562.2093.85.camel@chaucer.jeays.ca> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , freebsd-questions@freebsd.org, Grant Peel Subject: Re: dd - cloning a disk. 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: Sun, 12 Mar 2006 16:06:10 -0000 On Sun, 2006-03-12 at 16:53 +0300, Andrew Pantyukhin wrote: > On 3/12/06, Wojciech Puchar wrote: > > > > > > It is, with a few 'buts'. Firstly, the source should be mounted > > > > but may not - unless system is generally idle. fsck will be checking the > > copy then, but with success. > > No matter what fsck says later, it's too dangerous. A FreeBSD > system (as well as any other complicated OS) is never really > idle in terms of disk I/O. > > > On 3/12/06, Wojciech Puchar wrote: > > > list sometime in the last 3-5 weeks. Giorgios Keramidas > > > commented that "dd" was too slow for his tastes and > > > > dd is the fastest, but probably he used small block size. 64K is OK > > dd can be slower than dump/restore in quite a few cases, > especially when disk is far from full. > _______________________________________________ > 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" I have done this 'safely', by booting Knoppix, and using dd to copy the disk in the knowledge that all the UFS filesystems are closed and clean. Use a large blocksize; you can go a lot bigger than 64K. -- Mike Jeays http://ca.geocities.com/mike.jeays@rogers.com