From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 23:56:34 2011 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 CD77A106566C for ; Tue, 15 Feb 2011 23:56:34 +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 8C08C8FC13 for ; Tue, 15 Feb 2011 23:56:34 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p1FNuXMH017622; Tue, 15 Feb 2011 16:56:33 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p1FNuXFE017619; Tue, 15 Feb 2011 16:56:33 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 15 Feb 2011 16:56:33 -0700 (MST) From: Warren Block To: Jan Henrik Sylvester In-Reply-To: <4D5AA85E.6070807@janh.de> Message-ID: References: <4D5AA85E.6070807@janh.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Tue, 15 Feb 2011 16:56:33 -0700 (MST) Cc: Xn Nooby , questions-list freebsd Subject: Re: What is the best way to image copy a FreeBSD system? 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: Tue, 15 Feb 2011 23:56:34 -0000 On Tue, 15 Feb 2011, Jan Henrik Sylvester wrote: > I tried a version of Clonezilla that understood ufs and it was really fast > copying a slice: It did not understand disklabels and copied only the a > partition pretending that it did the entire slice. > > Did you try to copy a slice with multiple partitions? Since my T42 is handy, I'm testing the latest clonezilla-1.2.7-11-i686 image on it, PXE-booted. It shows this sliced/partitioned disk as Clonezilla FreeBSD ---------- ------- sda (60.0GB... sda1 (60.0GB_ufs... / sda5 (ufs... / sda6 ((In_HTS... swap sda7 (ufs... /var sda8 (ufs... /tmp sda9 (ufs... /usr "savedisk" will back up all of these from sda1 onwards, so there will be two copies of / (sda1 and sda5). Same size but different md5s, no idea what's going on there. In the "saveparts" menu, the appropriate partitions can be picked by just choosing all the ones showing ufs in the first part of the description, but Clonezilla will only restore them to existing partitions. "restoredisk" doesn't recognize a backup directory created with saveparts. Using a VirtualBox system with a 62G disk, Clonezilla restored all the partitions and the boot block. The restored system boots and seems fine. It really ought to be verified with mtree checksums or something similar. There are Clonezilla mailing lists, and anyone who wants to use it with FreeBSD or other UFS filesystems should join. (I don't generally use Clonezilla for FreeBSD, and my project list is already too long, so I haven't, but still...)