From owner-freebsd-virtualization@FreeBSD.ORG Sat Feb 8 11:42:55 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0689D14B for ; Sat, 8 Feb 2014 11:42:55 +0000 (UTC) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C4CAA14C1 for ; Sat, 8 Feb 2014 11:42:54 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id x10so4193403pdj.22 for ; Sat, 08 Feb 2014 03:42:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rKCjzVKcGuqoCcJvlPNdact5RHB8kqA6QxjmuxeLGMQ=; b=Mf+mcne4pDyDsKK2Bc4DyWH2L/02x8NnA04E3me2F2h2x/JQXUO/RVwO9XU99KSoAa mjwnWR21UI/wbxqSKK9uKqOeW8zBNuw92rX5S2oGh5t6NyZwEjXhnrHoIHwIhRo8s+36 LBoX0+WDqPpBz+9hb5udC10pqmoyAwSFvC4Dt7Rt/xrE4SMs6jW/JulB61WmdSv43JGV zA8vRaEQZJMTwr/Cwqs/nl9cUk5oeTeFjvBEtyNOYhIKmTeSukkLUkRE44qqAkN9zD8g YLb3d+8u26s8Muz0O2NTn3Nl94E/nXm98MlslPz1YtkT54IJ1IJAe9jJ7EqHKvaHy2Fu Iw0w== MIME-Version: 1.0 X-Received: by 10.66.221.199 with SMTP id qg7mr13865983pac.88.1391859774393; Sat, 08 Feb 2014 03:42:54 -0800 (PST) Received: by 10.68.155.38 with HTTP; Sat, 8 Feb 2014 03:42:54 -0800 (PST) In-Reply-To: References: <52F5363D.8040102@freebsd.org> Date: Sat, 8 Feb 2014 06:42:54 -0500 Message-ID: Subject: Re: Report of my virtual network lab migrated from virtualbox to bhyve From: Aryeh Friedman To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 11:42:55 -0000 On Sat, Feb 8, 2014 at 6:39 AM, Adam Vande More wrot= e: > On Sat, Feb 8, 2014 at 5:20 AM, Olivier Cochard-Labb=E9 >wrote: > > > On Fri, Feb 7, 2014 at 8:38 PM, Peter Grehan wrote= : > > > > > > > > > > > If you create a sparse file for the bhyve raw disk (e.g. with trunca= te > > > -s), du will show the actual blocks used rather than the total size. > > > > > > But can I truncate an already existing image disk (downloaded nanobsd > image > > as example) ? > > > There is this: https://github.com/masover/sparsify > > I think this or something like it used to be in ports too. > bhyve (as far I know) disks must be one solid file (md backed) or a /dev block device... therefore it is unlikely the above would work --=20 Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org