From owner-freebsd-current@freebsd.org Tue May 7 08:59:51 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43A8515A41C6 for ; Tue, 7 May 2019 08:59:51 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D8F348068F for ; Tue, 7 May 2019 08:59:50 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 90F971C348 for ; Tue, 7 May 2019 08:59:50 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.212.184.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 7C62215EC6 for ; Tue, 7 May 2019 08:59:47 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk/7C62215EC6; dkim=none; dkim-atps=neutral Subject: Re: New vm-image size is much smaller than previos To: freebsd-current@freebsd.org References: <28d9446e246bcdb58f1fe48fce9900e054a5d4d3.camel@twc.com> From: Matthew Seaman Message-ID: <6cd1df8f-9fa6-4e7c-4146-bcff577dd78d@FreeBSD.org> Date: Tue, 7 May 2019 09:59:47 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <28d9446e246bcdb58f1fe48fce9900e054a5d4d3.camel@twc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: D8F348068F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2019 08:59:51 -0000 On 03/05/2019 17:10, David Boyd wrote: > The vm-image for 13.0-CURRENT > > FreeBSD-13.0-CURRENT-amd64-20190503-r347033.vmdk > > is only 4.0 GB in size. Previous images were about 31.0 GB. > > This smaller image doesn't leave much room to add packages and other > customizations. > Yes, the VM images are smaller, and deliberately so. The idea is that the image is basically shrunk to the minimum size -- just big enough to hold a standard install. Then when you deploy one of these images, you allocate a virtual drive of whatever size you need, and growfs(8) your filesystems (if using UFS) or allow your vdevs to expand to fill the space available (if using ZFS). This allows you to build a system of pretty much any feasible size and parallels the behaviour of eg. the AMIs available for AWS. Cheers, Matthew