https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267769
I'm just going to submit bug this way, I do like fact I can mount ZFS
guests now, and I love being able to pass through multiple disks through
with one line to bhyve such as :
-s 4:0,virtio-scsi,/dev/cam/ctl1.0
very handy, and very organized especially if someone wanted to pass 10
devices through to a guest with a 1 liner to bhyve.
I am not sure what is happening after resume, would be disheartening to
have to go back to virtio-blk :( Think virtio-blk being phased out to
virtio-scsi from what I have read.
Dan.
--
Dan The Man
CEO & Founder
Websites, Domains and Everything else
http://www.SunSaturn.com/aboutus.php
Email: d...@sunsaturn.com
PGP Key: https://SunSaturn.com/pgp.txt
A1A7 6E84 FB0B 8994 C3B5 A1BA FF6F 4997 7311 C386
On Mon, 7 Nov 2022, Alexander Motin wrote:
On 07.11.2022 18:53, Dan The Man wrote:
router:~ # sysctl vfs.zfs.vol.recursive=1
vfs.zfs.vol.recursive: 0 -> 1
router:~ # zpool import
pool: testing
id: 8013833172609421701
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
testing ONLINE
zvol/zroot/asterisk2p3 ONLINE
router:~ # zpool import -fR /mnt testing
This hangs forever....
The only way to import that pool from the zvol that I know of.....
Mounting ZFS from ZVOLs is blocked for a reason. It causes deadlocks due to
lock recursion. I don't know what you are trying to achieve, but as
alternatives, the ZVOL can be passed inside VM, it can be shared via iSCSI
(even inside the host itself), etc.
--
Alexander Motin