Bug 140814

Summary: [handbook][patch] Chapter 15 - Jails: add section on creating file-backed jails
Product: Documentation Reporter: Glen Barber <glen.j.barber>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Glen Barber 2009-11-24 01:00:12 UTC
The jail(8) utility alone does not contain a mechanism to control disk space on a per-jail basis, thus all jails on one system view all free space on the mountpoint as free space.

Solutions for this exist; for example, creating separate filesystem slices per-jail.  The problem with this solution is the need for planning ahead in avoidance of reallocation disk space.

vnode-backed md(4) devices can remedy this solution, allowing administrators to create chunks of a filesystem on-the-fly, while maintaining space quotas within their jails.

The attached patch explains how to create space limitations for jails using vnode-backed md(4) devices.

Fix: Patch attached with submission follows:
Comment 1 Glen Barber 2010-06-08 13:09:02 UTC
Hi,

I believe this PR can be closed.  ports/sysutils/ezjail provides a
much easier mechanism to create file-backed jails for UFS.

Regards,

-- 
Glen Barber
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-06-08 17:29:32 UTC
State Changed
From-To: open->closed

Closed at submitter's request.