Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2003 16:38:37 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Mimimal set of r/w filesytems for a jail?
Message-ID:  <87n0ibwrhe.fsf@pooh.honeypot.net>

next in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable

I am running multiple jails on my 4.7-STABLE server, but seriously want to
cut back on redundant file storage.  In my current setup, I have multiple
jail directories, each with a complete FreeBSD installation.  I would like
to migrate to a setup where all jails share one common "base" filesystem
mounted read-only, and have small jail-specific directories for local
read-write access.  My thinking is that, at a minimum, I'd need r/w mounts
for:

  /dev
  /etc
  /home
  /root
  /tmp
  /usr/local
  /var

Is there anything else that should be included?

Second question.  Somehow or another, I'll need to mount those directories
inside the jail.  I've been using NFS mounts to localhost to share
/usr/ports across jails.  Is this still the recommended stable method for
what I'm trying to accomplish?  The union (and null) filesystems look like
they'd be ideal, but the man page warnings are a pretty strong deterrent to
use on a production system.
=2D-=20
Kirk Strauser

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+rE3d5sRg+Y0CpvERAsHYAKCMf+Grq/ql5tOEa9bqGW60GA4s9gCfag/D
Ft4i0q+JcIeGnYclOJLK9M0=
=XG+N
-----END PGP SIGNATURE-----
--=-=-=--



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