Re: Web Hosting - IPs, Quotas and Jails
From: Michael R. Wayne (wayne_at_staff.msen.com)
Date: 10/24/05
- Previous message: Troy Settle: "Web Hosting - IPs, Quotas and Jails"
- In reply to: Troy Settle: "Web Hosting - IPs, Quotas and Jails"
- Next in thread: Brian Candler: "Re: Web Hosting - IPs, Quotas and Jails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 24 Oct 2005 12:52:06 -0400 To: freebsd-isp@freebsd.org
On Mon, Oct 24, 2005 at 11:56:22AM -0400, Troy Settle wrote:
>
> Anyways, here's where I need some help. I want to create a 3rd jail for
> Frontpage services. FP doesn't have any built in quota support that
> I've seen, so I'll need to depend on file system quotas. The problem
> with this, is that quotas do not seem to work in a jailed environment.
> Can anyone recommend a solution/workaround to this?
This can be (mostly) made to work.
Mount the filesystem on the host machine with quotas enabled,
pointing to a file reachable by the jail. Example /etc/fstabs:
/dev/da0s1d /JAIL_NAME/home ufs rw,nosuid,nodev,userquota=/JAIL_NAME/usr/quotas/JAIL_NAME.home 2 2
In the jail, use
/dev/da0s1d /home ufs rw,nosuid,nodev,userquota=/usr/quotas/JAIL_NAME.home,noauto 2 2
Remember that you only have a single namespace (numberspace?) for
UIDs so do not re-use them in other jails.
/\/\ \/\/
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Troy Settle: "Web Hosting - IPs, Quotas and Jails"
- In reply to: Troy Settle: "Web Hosting - IPs, Quotas and Jails"
- Next in thread: Brian Candler: "Re: Web Hosting - IPs, Quotas and Jails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|