Date: Mon, 26 Apr 2021 12:07:14 +0000 From: Matt Churchyard <matt.churchyard@userve.net> To: Andrea Venturoli <ml@netfence.it>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: RE: FreeBSD bhyve guest does not start anymore Message-ID: <5e43ac8a05a0431a87bf4b69ed960107@SERVER.ad.usd-group.com> In-Reply-To: <16cbb2a3-e95a-d01d-4888-cc73838605e5@netfence.it> References: <16cbb2a3-e95a-d01d-4888-cc73838605e5@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message----- From: owner-freebsd-virtualization@freebsd.org <owner-freebsd-virtualizatio= n@freebsd.org> On Behalf Of Andrea Venturoli Sent: 26 April 2021 12:36 To: freebsd-virtualization@freebsd.org Subject: FreeBSD bhyve guest does not start anymore >Hello. >I've asked about this in the past (around January) and somehow I got some = suggestions. >Either that helped me solve the problem, but now it's back, or I never reb= ooted the host and simply forgot about it. >In any case... >Due to a 12.x specific bug, I run a 11.3 guest using vm-bhyve. This is its config: > loader=3D"bhyveload" > cpu=3D1 > memory=3D512M > network0_type=3D"virtio-net" > network0_switch=3D"public" > disk0_type=3D"virtio-blk" > disk0_name=3D"disk0" > disk0_dev=3D"sparse-zvol" > uuid=3D"..." > network0_mac=3D"..." >When I start it, the guest boots, but hangs after the kernel is loaded wit= h: > Manual root filesystem specification: > <fstype>:<device> [options] > Mount <device> using filesystem <fstype> > and with the specified (optional) option list. >=20 > eg. ufs:/dev/da0s1a > zfs:tank > cd9660:/dev/cd0 ro > (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) >=20 > ? List valid disk boot devices > . Yield 1 second (for background tasks) > <empty line> Abort manual input >=20 > mountroot>=20 >Then, if I just type "ufs:/dev/vtbd0a" it will start correctly. >As can be seen from the config: the host is running with ZFS, the guest on= ly has a zvol disk and from its POV there's only one partition (UFS). >Volmode is set to dev (as was suggested in January): > zfs get volmode zroot/vm/f11b/disk0 > NAME PROPERTY VALUE SOURCE > zroot/vm/f11b/disk0 volmode dev local >Any other hint? What does /etc/fstab look like inside the guest? > bye & Thanks > av. _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/m= ailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5e43ac8a05a0431a87bf4b69ed960107>