summaryrefslogtreecommitdiff
path: root/ezjail.conf.sample
diff options
context:
space:
mode:
authorcryx <cryx@h3q.com>2009-05-23 13:09:53 +0000
committercryx <cryx@h3q.com>2009-05-23 13:09:53 +0000
commit095380a8d03be3a0454626e8b150712f125d814d (patch)
tree44522655ec5d466406f501184f4813e4ca464b35 /ezjail.conf.sample
parentac8696b6027c8ee84076551d7b38171775ad567d (diff)
First chunk of ZFS support in ezjail.
ezjail is now capable of managing jails in seperate ZFS filesystems and to manage basejail and newjail in seperate ZFS filesystems too. It is possible to mix non-ZFS jails with ZFS jails as well as using ZFS jails with basejail/newjail in a non-ZFS filesystem. To create a zfs jail you need an existing ZFS pool, ZFS needs to be enabled in /etc/rc.conf and you have to set at least ezjail_jailzfs in ezjail.conf. To let ezjail manage basejail/newjail in ZFS filesystems to, you have to enable ezjail_use_zfs in ezjail.conf. To use ZFS support in ezjail, you have to use at least FreeBSD 7-STABLE form after the commit of ZFS version 13 (commited Wed May 20 23:34:59 2009 UTC, http://svn.freebsd.org/viewvc/base?view=revision&revision=192498) of FreeBSD 8-CURRENT. Prior versions of ZFS are _not_ supported. Creating a ZFS based jail is as easy as using 'ezjail-admin create -c zfs <jailname> <jailip>'. Using zfs send/receive for archiving is not yet implemented. Converting non-ZFS basejail/newjail setups into ZFS setups is not handled by ezjail, converting non-ZFS jails into ZFS jails is not yet handled by ezjail but will be possible in the future. WARNING: ZFS is considered to be an experimental feature in FreeBSD. ZFS support in ezjail is work in progress.
Diffstat (limited to 'ezjail.conf.sample')
-rwxr-xr-xezjail.conf.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/ezjail.conf.sample b/ezjail.conf.sample
index ebc904a..46c08bc 100755
--- a/ezjail.conf.sample
+++ b/ezjail.conf.sample
@@ -46,3 +46,10 @@
46# ezjail_devfs_ruleset="devfsrules_jail" 46# ezjail_devfs_ruleset="devfsrules_jail"
47# ezjail_procfs_enable="YES" 47# ezjail_procfs_enable="YES"
48# ezjail_fdescfs_enable="YES" 48# ezjail_fdescfs_enable="YES"
49
50# Setting this to YES will start to manage the basejail and newjail in ZFS
51# ezjail_use_zfs="YES"
52# The name of the ZFS ezjail should create jails on, it will be mounted at the ezjail_jaildir
53# ezjail_jailzfs="tank/ezjail"
54# ADVANCED, be very careful!
55# ezjail_zfs_properties="-o compression=lzjb -o atime=off"