I call this in /etc/rc.shutdown.local to shut all VMs down gracefully and
wait, perhaps a variant would help you.
#!/bin/sh
INTERVAL=5
/usr/bin/killall -TERM bhyve
echo -n "/dev/vmm:"
while test -d /dev/vmm ; do
echo -n "" $(/bin/ls /dev/vmm | /usr/bin/wc -w)
/bin/sleep $INTERVAL
done
ech
On Feb 14, 2017 05:42, "C. L. Martinez" wrote:
On Tue, Feb 14, 2017 at 01:26:49PM +, C. L. Martinez wrote:
> On Tue, Feb 14, 2017 at 01:29:57PM +0100, Miroslav Lachman wrote:
> > C. L. Martinez wrote on 2017/02/14 12:57:
> > > On Mon, Feb 13, 2017 at 02:02:48PM +0100, Daniel Niculescu wrote:
I have VMs running on FreeBSD 10.0, for which I made zvols to provide the
block IO device for bhyve. When I boot from the installation ISO, gpart
works inside the VM, but newfs does not, reporting vtbd0 errors. Likewise,
dump does not work inside the VM (failing with too many vtbd0 hard errors),
bu