Read-only view of a ZFS filesystem inside a bhyve guest?

Mark Raynsford list+org.freebsd.virtualization at io7m.com
Fri Apr 27 16:43:43 UTC 2018


Hello.

I'm looking to do what the subject says: I have an existing ZFS
filesystem (/storage/xyz) and I'd like to provide a read-only view of
the filesystem to a set of bhyve guests. The guests in this case could
be solely FreeBSD guests, but if there's a pleasant way to allow for
OpenBSD or Linux guests, I'd like that.

I'm essentially looking to move some jail-based infrastructure to bhyve
guests. With the jails, I have a ZFS filesystem on the host that's
mounted read-only inside some of the jails using nullfs. I'm not sure
if there's something analogous for bhyve guests.

I've looked at NFS, but this seems like overkill and possibly hard to
secure. Same applies to Samba. sshfs might be an option, but I'd really
prefer to have as few daemons listening on the host machine as possible
for security reasons.

-- 
Mark Raynsford | http://www.io7m.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20180427/6b8b9f4b/attachment.sig>


More information about the freebsd-virtualization mailing list