See https://github.com/NetworkBlockDevice/nbd/releases/tag/nbd-3.25. Unfortunately, this is the combination that Gentoo now ships. Symptoms are: [ 211.673407] block nbd0: Possible stuck request 000000002f44064e: control (read@0,4096B). Runtime 30 seconds [ 242.393288] block nbd0: Possible stuck request 000000002f44064e: control (read@0,4096B). Runtime 60 seconds [ 273.113151] block nbd0: Possible stuck request 000000002f44064e: control (read@0,4096B). Runtime 90 seconds [ 303.833090] block nbd0: Possible stuck request 000000002f44064e: control (read@0,4096B). Runtime 120 seconds Reproducible: Always Actual Results: Nbd devices cannot be mounted on any client Expected Results: Nbd devices mount as normal.
Upgrading to nbd-3.25 solves the issue. But in order for 3.25 to compile successfully I had to disable zlib support.
Reported the zlib issue at https://github.com/NetworkBlockDevice/nbd/issues/149.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa6af98b0362bfaba051b1dde9299f77baf2a03 commit 6fa6af98b0362bfaba051b1dde9299f77baf2a03 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-05 05:23:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-05 05:23:37 +0000 sys-block/nbd: add 3.25 Drops gznbd support, at least for now, given it doesn't compile and upstream haven't touched the dir in 9 years. Closes: https://bugs.gentoo.org/907831 Signed-off-by: Sam James <sam@gentoo.org> sys-block/nbd/Manifest | 1 + sys-block/nbd/nbd-3.25.ebuild | 82 +++++++++++++++++++++++++++++++++++++++++++ sys-block/nbd/nbd-9999.ebuild | 34 ++++++++++-------- 3 files changed, 103 insertions(+), 14 deletions(-)