Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2023 17:22:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 273772] zpool nested in ZVOL becomes inaccessible when zfsd(8) is running on the host
Message-ID:  <bug-273772-3630-NibBqmu8mv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273772-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273772-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273772

--- Comment #4 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
(In reply to Alan Somers from comment #3)
>1) What does "zpool status" show on the host, when the guest is unable to =
boot?

It shows the same as shows when the guest is able to boot. Guest's zpool is
never imported, neither vfs.zfs.vol.recursive is enabled.=20

>2) What does "top" show on the host at that time?  Is zfsd spinning the CP=
U?

Nothing special, among others:

7280 root         18  32    0    12G    32M kqread  10   3:51 100.50% bhyve
6833 root          1  20    0    20M    11M select  26   0:00   0.00% zfsd

It is also probably worth mentioning, that I have had from time to time (ve=
ry
rarely though) problems with importing that pool (booting bhyve guest VM) in
the past. It begun in stable/13 somewhere between 13.1 and 13.2 release IIR=
C.
To fix that I had to enable  vfs.zfs.vol.recursive, import zpool from from =
the
host, perform some writes, for example clear a few snapshots, export zpool =
and
then the VM booted fine. It wasn't reproducible though. It's worth to menti=
on
that all that time zfsd(8) was running.

Now, after upgrading the bhyve host to stable/14, the problem with booting
bhyve guest VM is 100% reproducible and fully dependent on the state of
zfsd(8).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273772-3630-NibBqmu8mv>