Date: Wed, 11 Jan 2006 10:29:40 +0100 From: Vladimir Dvorak <dvorakv@vdsoft.org> To: freebsd-questions@freebsd.org Subject: quotas + jail ? Message-ID: <43C4D004.90101@vdsoft.org>
next in thread | raw e-mail | index | archive | help
Hello, I have simple question - is possible to use quotas in jail(8) environment ? I set up my system as follows: 1. this is setting in "main" environment cat /etc/fstab | grep VSERVERS /dev/ad3s1f /VSERVERS ufs rw,noatime,groupquota=/VSERVERS/machine1/quotagroup,userquota=/VSERVERS/machine1/quotauser 2 2 2. this is setting in jail(8) /dev/ad3s1f / ufs rw,noatime,soft-updates,groupquota=/quotagroup,userquota=/quotauser But still cannot use quotas in jail. I thought if I have access to quotagroup and quotauser files, I can simply use quotas advantages. I try root@machine1# /etc/rc.d/quota restart quotaoff: /: Operation not permitted quotaoff: /: Operation not permitted Checking quotas: done. Enabling quotas:quotaon: using /quotagroup on quotaon: /: Operation not permitted quotaon: using /quotauser on quotaon: /: Operation not permitted done. It seems to be impossible ( some kernel restriction ). :-( Is there some way to allow this ? My last idea was to replicate users and groups to "main" system and use quotas from it - but it is not good solution if we have several hundreds users in jail(8). Thank you ! Vladimir Dvorak
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C4D004.90101>