Fwd: Jailcfg - A new tool for creating small(!) jails

Philipp Wuensche cryx-freebsd at h3q.com
Sat Feb 13 00:54:25 UTC 2010


jhell wrote:
> 
> Just for some more idea's to build upon.
> 
> You could have a thousand jails at no extra space besides one base jail
> installed at 160M and using zfs snapshot and clone. with no additional
> mounting needed besides the actual jail and its device directory. ;)
> 
> The only data that is collected after that is user data which is a good
> thing with no extra cost of system mount points and disk usage.

Thats only true until the first update of the freebsd-userland inside
the jail. The moment you need to update the freebsd-userland inside the
jail, it will use additional space and all the advantages of this idea
are gone.

Using clone will also create a direct dependency between the snapshots
and the cloned filesystems. As long as the clone exists, the snapshot
has to be kept. This is only resolvable by using zfs send/recv which
will, again, use additional space.

greetings,
Philipp


More information about the freebsd-jail mailing list