Vladimir Dvorak wrote:
> Hello,
> 
> I have simple question - is possible to use quotas in jail(8) environment ?

Yes, it is, although with some restrictions. 

You have to enable the disk quotas from the host (have them listed in
host's /etc/fstab).

To operate the quotas from inside the jail quotas have to be mentioned
in jail's /etc/fstab too (when using the file name of quota file it has
to be relative to jail's root). Repquota/edquota/quota work inside the
jail.

You have to keep in mind that disk quotas are in fact a property of a
filesystem and are not related to jails at all. So if two jails share a
filesystem the disk quotas are shared too. If you have users with the
same UID in both the jails they will share the quota.

Michal


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to