Date: Sat, 18 Jun 2011 12:09:54 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Lars Kellogg-Stedman <lars@seas.harvard.edu> Cc: freebsd-jail@freebsd.org Subject: Re: Exposing a hierarchy of ZFS datasets inside multiple jails Message-ID: <20110618120954.0000255c@unknown> In-Reply-To: <BANLkTikrWYnBAnQsXZ535OdX5tVp9eOrNQ@mail.gmail.com> References: <BANLkTikrWYnBAnQsXZ535OdX5tVp9eOrNQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Jun 2011 14:46:59 -0400 Lars Kellogg-Stedman <lars@seas.harvard.edu> wrote: > Hello all, > > Hi there, > > I am trying to expose a hierarchy of home directories to a number of > FreeBSD jails. The home directories are configured such that each is a > unique ZFS dataset. The jails are used for development work and hence > are created and destroyed on a regular basis. > > My first thought was simply to use nullfs to mount /home inside the > jail, but nullfs doesn't provide any way to access subordinate > filesystems. > > My second thought was to export the directories via NFS and then run > the automounter daemon (amd) inside each jail. This would have Just > Worked...if it were possible to perform NFS mounts inside a jail. But > it's not. See the second part of the patch at http://www.leidinger.net/FreeBSD/current-patches/sys:nfsclient.diff for how to allow NFS mounts in a jail. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110618120954.0000255c>