Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2018 17:43:41 +0100
From:      Mark Raynsford <list+org.freebsd.virtualization@io7m.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Read-only view of a ZFS filesystem inside a bhyve guest?
Message-ID:  <20180427174341.03373bc8@almond.int.arc7.info>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQS4Thd0dhbGF0xo1eVcGntxKBLMBQUCWuNTPQAKCRBcGntxKBLM
BZ1EAQDnum/5Xn00yG0a9usy04cr7wsajDQEVmrzUZicp1KcbQEA+A6b67B4FBdR
wetLzwoqp1N11Adr9A/blIaCHqOePQQ=
=rZZT
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180427174341.03373bc8>