From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 22:05:40 2010 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 8BF3F106564A for ; Thu, 16 Dec 2010 22:05:40 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 4A1D28FC13 for ; Thu, 16 Dec 2010 22:05:39 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 2E47A78C21 for ; Thu, 16 Dec 2010 23:05:39 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id beYWKcIgUi6h for ; Thu, 16 Dec 2010 23:05:39 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id C27A078C19 for ; Thu, 16 Dec 2010 23:05:38 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1082) From: bsd In-Reply-To: <4D0A2A2D.1070607@bah.homeip.net> Date: Thu, 16 Dec 2010 23:05:37 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <1A4BE241-5B74-4BDA-B13F-DF1B3F30B30B@todoo.biz> References: <201012150800.oBF80FRf015357@mail.r-bonomi.com> <58F35D2B-19D0-4FE0-A4DA-03FDA8128BD2@todoo.biz> <4D0A2A2D.1070607@bah.homeip.net> To: Liste FreeBSD X-Mailer: Apple Mail (2.1082) Subject: Re: Creating clone of a HDD including boot partition 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: Thu, 16 Dec 2010 22:05:40 -0000 Le 16 d=E9c. 2010 =E0 16:03, Bernt Hansson a =E9crit : > 2010-12-16 11:55, bsd: >=20 >> I have tried to use the compressed approach using smthg like: >>=20 >> # mount /dev/ad0s1a /mnt >> # cd /mnt >> # dd if=3D/dev/zero of=3Dzerofile bs=3D1M >>=20 >>=20 >> I have a lot of errors on standerr output such as : >>=20 >> g_vfs_done() : da0s1a [WRITE(offset=3D58978680256, = length=3D131072)]error =3D 5 >=20 > You have to little disk space, is my guess. >=20 >> Up to a point where It has finaly freezed my running FBSD 8.1. >=20 > To little to fast. >=20 >> I don't think I have reached the end of the file=85 ?? >>=20 Ok,=20 I have got It working.=20 I have created an 736 MB archive of my 160 GB hard drive.=20 Now I am trying to restore It from my mac with :=20 $ gzcat pfSense_HDD.gz | dd of=3D/dev/disk1 bs=3D1m It has started at 19h52 and at 32h02 it is still not finished=85=20 I thing I'll go to sleep and see if the baby is born tomorow morning.=20 Is there anything I can do to speed up the process ? Anyway thank you for all this useful help.=20 =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 ---------> Gr=E9gory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO