From owner-freebsd-virtualization@FreeBSD.ORG Sat Feb 8 11:37:14 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 4963DD0E; Sat, 8 Feb 2014 11:37:14 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0E97A13CA; Sat, 8 Feb 2014 11:37:14 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id lf10so4241942pab.18 for ; Sat, 08 Feb 2014 03:37:13 -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=G++wG3iuPdY+qK4D8bQHEdjwJMP8e6CbcRsN2Pajw60=; b=Psp/+A6W+BG4Jn9RBB2dD4TWs61qYJKaY0O5uM14pK1EToqt4DDA4MJK2wQgYC0akz O5vZITiEVqpo0sn1NDGKj/UaEymde45z6eCVm+ZSaYv+ZBODUZtb9hjDwngjW5035lel 9HtZ5zms5pJTxP4QSN3RpuvpsQn7jP9Ly3JNyHjhBd/Q8KFFic8REN4eI5nD0iDyuKyl VoLXDk2TpJIsgVNqvzJg/Hsv9pRnJ1T4oDItf8tmDbWJDErD4Zus780NsrOB+ZKcrwwB Mh6PHhxt7bLalrj9oAA5Ts/59IEKpA6ATi6ODU10j4xd4AzaIfyV152P3gcIHGJIhjNN 8tGg== MIME-Version: 1.0 X-Received: by 10.66.141.231 with SMTP id rr7mr13480886pab.41.1391859432915; Sat, 08 Feb 2014 03:37:12 -0800 (PST) Received: by 10.68.155.38 with HTTP; Sat, 8 Feb 2014 03:37:12 -0800 (PST) In-Reply-To: References: <52F5363D.8040102@freebsd.org> Date: Sat, 8 Feb 2014 06:37:12 -0500 Message-ID: Subject: Re: Report of my virtual network lab migrated from virtualbox to bhyve From: Aryeh Friedman To: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= 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@freebsd.org" 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:37:14 -0000 On Sat, Feb 8, 2014 at 6: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 truncate > > -s), du will show the actual blocks used rather than the total size. > > > But can I truncate an already existing image disk (downloaded nanobsd ima= ge > as example) ? > You can increase the size but not lower it. If your using raw format you just scp it over and it will work fine. (bhyve only supports raw format) --=20 Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org