From owner-freebsd-virtualization@freebsd.org Thu Nov 19 19:01:33 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3046A33CF2 for ; Thu, 19 Nov 2015 19:01:33 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DCB510B1 for ; Thu, 19 Nov 2015 19:01:33 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (localhost [127.0.0.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.nomadlogic.org (Postfix) with ESMTPS id 299D0125EE5 for ; Thu, 19 Nov 2015 11:01:26 -0800 (PST) Received: from pop.rubicorp.com (unknown [72.34.113.100]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.nomadlogic.org (Postfix) with ESMTPSA id 18280125EBA for ; Thu, 19 Nov 2015 11:01:26 -0800 (PST) Subject: Re: adding diskspace to a bhyve instance To: freebsd-virtualization@freebsd.org References: <20151119172034.GA93977@potato.growveg.org> From: Pete Wright Message-ID: <564E1C85.6080004@nomadlogic.org> Date: Thu, 19 Nov 2015 11:01:25 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151119172034.GA93977@potato.growveg.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 19 Nov 2015 19:01:33 -0000 On 11/19/15 09:20, John wrote: > Hello list, > > What's the best way of increasing the space of a bhyve guest instance? > Would it be via growfs? Inside or outside of the vm? Or would it be > better to truncate another chunk of space and refer to it in /etc/fstab? > for virtualized instances that use UFS i have used growfs with success. what is backing your vm image? if it is zfs you can most likely grow the filesystem where your vm image lives then use growfs (if ufs) in the VM. hope this helps, -pete -- Pete Wright pete@nomadlogic.org twitter => @nomadlogicLA