Date: Sun, 3 Sep 2017 00:01:42 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Subject: Re: bhyve VM drive size limit? Message-ID: <e9198244-7891-6ab5-d0a1-5cf269ebbd98@freebsd.org> In-Reply-To: <147e2841-bb29-1fe6-11cc-917f22bf8e87@osfux.nl> References: <F11DB42E-B903-42B2-B1FA-0649BE86C0B7@host852.com> <CACLnyC%2ByGV29p32_HtzszHfgYNVS5uyRdhnG6315OtOpTJYNZQ@mail.gmail.com> <CACLnyCKimVH1jJ%2BBhF86Vo1Oq1Uj2byUi6x-ZDqwB-tbpE1-0g@mail.gmail.com> <CACLnyCJ7iyvE8_v_OXrAg1aMiUfv4B2jeX6_bsjEL4AuC=GYZA@mail.gmail.com> <147e2841-bb29-1fe6-11cc-917f22bf8e87@osfux.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cdlRI4s7lurQFlu8FEL371TCrc27otbX8 Content-Type: multipart/mixed; boundary="FdXbGfijjLjrD5wJswmKAO9CwsvTUaQ31"; protected-headers="v1" From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Message-ID: <e9198244-7891-6ab5-d0a1-5cf269ebbd98@freebsd.org> Subject: Re: bhyve VM drive size limit? References: <F11DB42E-B903-42B2-B1FA-0649BE86C0B7@host852.com> <CACLnyC+yGV29p32_HtzszHfgYNVS5uyRdhnG6315OtOpTJYNZQ@mail.gmail.com> <CACLnyCKimVH1jJ+BhF86Vo1Oq1Uj2byUi6x-ZDqwB-tbpE1-0g@mail.gmail.com> <CACLnyCJ7iyvE8_v_OXrAg1aMiUfv4B2jeX6_bsjEL4AuC=GYZA@mail.gmail.com> <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" <freebsd@host852.com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e9198244-7891-6ab5-d0a1-5cf269ebbd98>