From owner-freebsd-virtualization@freebsd.org Mon Mar 18 15:25:34 2019 Return-Path: Delivered-To: freebsd-virtualization@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 1B3BD1543C8F; Mon, 18 Mar 2019 15:25:34 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7711D8D891; Mon, 18 Mar 2019 15:25:33 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A978045B0; Mon, 18 Mar 2019 11:25:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 18 Mar 2019 11:25:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=/yn8mfkLnZs8QtHF0yFXVC7vqx0 y05CUtyChPjrpgDo=; b=YG1uDenvgktq+mM0uB0PW31bsX8JTy0rVRR3qH8iWme 9ceTnF32rzvW2lI3oZmAqDSOmKLiKu9a0Gr2yMnv2MZ1+fHRU0mUtXVb4YjQl++C z/aB6hzF4BDsmV+uu4ZF0yCJNMzdIkdAlv5Z5AQNspwcIHru/K0R8xCqVz2mOmjn iO1qW7Ig22mghunpmPevX5tBomIscQ61c2VRNLRw5Wa+doLidTf0DX02lEEJSDvq 7pOiNXrutq9CBzQex3/tq2yutKDQnqkS9Ngam+M3YvT7PvnZcc0J1Q5jV8hvKsXb 3UTUFxmt7eMGEqltPRi9FmEAExJznyBfmbmwS41p87g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=/yn8mf kLnZs8QtHF0yFXVC7vqx0y05CUtyChPjrpgDo=; b=vUC+qNn8qYa0kxRnzoI70J vlxGgGirjAPf0+C1Po7V+nES7rxwex8Z28RsRR/pwuZTn4ctKFDiJooWXyg/HImP d5Tda8PrSpDs3sayRvQXuQnqAF40/2z2ytYSne6eXw+IVHU6CYgA251IoydmkB1M bbjD/3ULKIbRAdrSKqICvMPNiI93pacuJj9Qs4UTZeVwFs3A+1GnpUDyZmwXu+ek nKMz+aFM+bzGIuI6z5bx13Lq6EfHMJO87CE9q/1hRDFBiDwoAtZt2mZeYhjx21Q5 Ek/r1QthPZhzA4W0q6/EtiN2xcBZPMHHZklgI4vnpVTihPfQXYINll7DMI6Tmn4Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddriedugdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjfgesghdtre ertdervdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucfkphepkedvrdejtddrledurddutddunecurfgrrhgrmhepmh grihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgvthenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from rpi3.zyxst.net (rpi3.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 78ECFE4684; Mon, 18 Mar 2019 11:25:30 -0400 (EDT) Date: Mon, 18 Mar 2019 15:25:26 +0000 From: tech-lists To: freebsd-virtualization@freebsd.org, FreeBSD Subject: Re: bhyve zfs resizing Message-ID: <20190318152525.GC91631@rpi3.zyxst.net> Mail-Followup-To: freebsd-virtualization@freebsd.org, FreeBSD References: <20190318150404.GB91631@rpi3.zyxst.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Pk6IbRAofICFmK5e" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 7711D8D891 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=YG1uDenv; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=vUC+qNn8; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.24 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-7.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[zyxst.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: in2-smtp.messagingengine.com]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; IP_SCORE(-1.60)[ipnet: 64.147.123.0/24(-4.47), asn: 11403(-3.44), country: US(-0.07)]; RCVD_IN_DNSWL_LOW(-0.10)[24.123.147.64.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 18 Mar 2019 15:25:34 -0000 --Pk6IbRAofICFmK5e Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 18, 2019 at 09:08:31AM -0600, Alan Somers wrote: > >Do you mean using a zvol as the backing store for a VM? If so, then: >1) Yes. You can just do "zfs set volsize" on the host. >2) In theory no, but the guest may need to be rebooted to notice the >change. And I'm not sure if the current bhyve code will expose the >new size without a reboot or not. >3) Sure. But after you expand the zvol (or before you shrink it), >you'll have to change the size of the guest's filesystem using the >guest's native tools. Great, that's awesome. Thanks for clarifying=20 --=20 J. --Pk6IbRAofICFmK5e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAlyPuFsACgkQs8o7QhFz NAUgvg//Z2bpBqYHbpl1U6fzFBF+NOw+j1iqMP46tia9TziO6FUH+B/KUe9HAx0v N+QFyPJO6Y5EFZUdKfnAXPpSe1nCA7q5ueFLNoCgJilg13kxLccsvWh2Wo0QO3R7 kdIcGBDAgBF7DM2mWTZdyLe6fdbzKMhfU5vhsZJPw+HQjdo3dCbrd3s2VynyCVT8 XyXDgpbdbm3N3D56JQdxrc2x2CTy7EjaVbYTxD6rfsyyl4Id6s45A4zcBgibtDiE 9ZKcajQmTuxHRmnRsA/4Oax2LMuoLCTFT4nzkry2k7frjJbnQqUTGY7mmVMeeQNO ZCvGPz/A8RhiW8lg6A6quui9wjWz8ItUhmayRZQ3XzRGi7Z685vJF5DMuyLDWY7r A6FI4Ta+3cvCxPdsfnQXlY9Ufj3cgtkNWbHgHEoGu0p/YU/H6AEFTE9U1WooY2GX rJxc+pzt6AJaDXVuj6uy3BImY8Eq3neupbmcZbdGACW3IXfksiGb6gim2N6vyhY9 GGL/S9kzzQEGP4/rcHkI7XHcaWVm7GZ/jaY2jhROhZ+MxLaYZIRntx1ShBEAtX5b cirLCy9X7nezkk+EQl2KBLux8H52LYD8QHaJVgVFGsDrJw2Ydb+ASRlPhBxjt2H+ 1aQMSu/C9i7FC7H9fptEbQ7aAkbavgHuFUBa6A/Ijo/2YCiCCM8= =3l1R -----END PGP SIGNATURE----- --Pk6IbRAofICFmK5e--