From owner-freebsd-virtualization@freebsd.org Sun Sep 3 04:01:54 2017 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 6AE83E17CEF for ; Sun, 3 Sep 2017 04:01:54 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (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 2BB0E80D08 for ; Sun, 3 Sep 2017 04:01:53 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id CDC4FDBC1 for ; Sun, 3 Sep 2017 04:01:46 +0000 (UTC) Subject: Re: bhyve VM drive size limit? To: freebsd-virtualization@freebsd.org References: <147e2841-bb29-1fe6-11cc-917f22bf8e87@osfux.nl> From: Allan Jude Message-ID: Date: Sun, 3 Sep 2017 00:01:42 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <147e2841-bb29-1fe6-11cc-917f22bf8e87@osfux.nl> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cdlRI4s7lurQFlu8FEL371TCrc27otbX8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 03 Sep 2017 04:01:54 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cdlRI4s7lurQFlu8FEL371TCrc27otbX8 Content-Type: multipart/mixed; boundary="FdXbGfijjLjrD5wJswmKAO9CwsvTUaQ31"; protected-headers="v1" From: Allan Jude To: freebsd-virtualization@freebsd.org Message-ID: Subject: Re: bhyve VM drive size limit? References: <147e2841-bb29-1fe6-11cc-917f22bf8e87@osfux.nl> In-Reply-To: <147e2841-bb29-1fe6-11cc-917f22bf8e87@osfux.nl> --FdXbGfijjLjrD5wJswmKAO9CwsvTUaQ31 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2017-09-02 10:52, Ruben wrote: > Hi Jason, >=20 >=20 >> Make sure >> you adjust the zvol block size in the default config before creating y= our >> guest or you will wonder where your storage starts to disappear to. >> >> Cheers, >> >> Jason > Perhaps slightly off-topic, but might you have any recommendations > regarding those blocksizes? >=20 > I'm not really that well versed in blocksizes / filesystems and am ofte= n > wondering where my 5TB zvol (bhyves into an ext4 volume for an ubuntu > guest) exactly disappears into :P >=20 > Regards, >=20 > Ruben >> On 2 Sep 2017 2:46 p.m., "Dylan Williams" wrote:= >> >> Dear all, >> >> Is there a limit with respect to the size of the virtual drive I can c= reate >> for a VM using bhyve? Presumably not but I=E2=80=99m running into prob= lems with a >> larger drive. >> >> I am trying to create a 4T Ubuntu machine on a FreeBSD11.1 server usin= g >> iohyve. There=E2=80=99s plenty of drive space available so it=E2=80=99= s not a drive space >> issue. I am able to create a 40G machine without any problems but exac= tly >> the same commands to create a 4000G machine results in a server that w= on=E2=80=99t >> boot past Grub. Is this an iohyve issue perhaps? >> >> Commands used that results in a working Ubuntu server: >> >> iohyve create ubu 40G >> iohyve set ubu loader=3Dgrub-bhyve os=3Ddebian ram=3D40G cpu=3D10 >> iohyve install ubu ubuntu-16.04.3-server-amd64.iso < >> ftp://ftp.cuhk.edu.hk/pub/Linux/ubuntu-releases/16.04.3/ >> ubuntu-16.04.3-server-amd64.iso> >> >> Commands used that results in a broken Ubuntu server: >> >> iohyve create ubu 4000G >> iohyve set ubu loader=3Dgrub-bhyve os=3Ddebian ram=3D40G cpu=3D10 >> iohyve install ubu ubuntu-16.04.3-server-amd64.iso < >> ftp://ftp.cuhk.edu.hk/pub/Linux/ubuntu-releases/16.04.3/ >> ubuntu-16.04.3-server-amd64.iso> >> >> The screen I get in the console when I boot (iohyve start ubu) the 4T >> machine is: >> >> GNU GRUB version 2.00 >> >> Minimal BASH-like line editing is supported. For the first word, TA= B >> lists possible command completions. Anywhere else TAB lists possibl= e >> device or file completions. >> >> >> grub> >> >> Does anyone have any ideas? I=E2=80=99ve been at this for hours trying= different >> configurations. LVM is not selected when installing either of the abov= e >> machines as that seems to cause more problems. >> >> Many thanks, >> Dylan. >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to "freebsd-virtualization- >> unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@f= reebsd.org" > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 To understand why space in a ZVOL goes missing, research 'raidz padding'.= See here: https://www.delphix.com/blog/delphix-engineering/zfs-raidz-stripe-width-o= r-how-i-learned-stop-worrying-and-love-raidz For more detail, see Chapter 9 of "FreeBSD Mastery: Advanced ZFS" from http://www.zfsbook.com --=20 Allan Jude --FdXbGfijjLjrD5wJswmKAO9CwsvTUaQ31-- --cdlRI4s7lurQFlu8FEL371TCrc27otbX8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJZq36pAAoJEBmVNT4SmAt+yiwP/iaymOs2ChQLcWcYFSR4E1kT QWeLT1kFF3YGNSPPzHxwaVjr/qdrCBjMdM2swHUx9UTiUgV8u24KT6Lt+IVrgRzN xlBA2T5JAk5LY8Vox+5eh2OH3P0oFV/62OExmzETK2ul3tCxrmRVynxT7pOzgnfp L3kD1XAggI8SugdlC/Wtg63nxeqE3asGs1M5zyWE+vVoYCtZEiw7Pu8vpDes/hPJ EVEdr4oa7OdTt+jLT9VHCLRqwTQ7BXUsHvwzLj13+DD5qpyVQqyrFtOpVJhhXjcX OPzrSesGiLky98KgEOwKqbls1X2fY5cNPvWXOGVluP4PYpNyNdeCcv/tI0LjfXTB IT1ffT9upvDXYLdW9Fb7MuZbqRKkZ+Hj0438jEbzEpWUu/yWwQ+5G6EVqqFFx8c3 XKs+MV+515LwwN6dGOqAjOY6mE0Le+xi5zkgYLc9XsKe5B82TdMgMXHu+bPd4QQC iJ/imkSJbE0C7dMKTmjMBV3cH6b66KazNHej3Av9acKS/apaNvYwOsJDQLp4plps HOQZhkUMR6l9u4+7petJuu+OmhK44QYQQ4lNfb+qrltehvirZ1HIOoO6AKfi8z1e iIuFSqV8cJ6RH8uW79B7BUil2jSvfFyevfzN22ixusfdJxnvLmauxSdz0FsuniGi yDasjQdvfL+N2tgKDxHM =Qj52 -----END PGP SIGNATURE----- --cdlRI4s7lurQFlu8FEL371TCrc27otbX8--