jail+quota problem!

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Sep 20 14:28:45 PDT 2007


i have multi-jail server, moved every jail to a separate UFS partition, 
and turned on quota on some of them (where vserver customer asked for it).

repquota shows all right, edquota works, then repquota shows right things 
but after few syncs or just waiting a minute quota setting disappears!

mount as seen from master server:

/dev/mirror/szymon.eli on /jail/szymon (ufs, local, noatime, with quotas, soft-updates)

[root at serwer ~]# ls -l /jail/szymon/quota*
-rw-r-----  1 root  operator  2097120 20 wrz 22:00 /jail/szymon/quota.group
-rw-r-----  1 root  operator  2097120 20 wrz 22:00 /jail/szymon/quota.user

[root at serwer ~]# jexec 8 usr/bin/su -
[root at sloneczko ~]# cat /etc/fstab
/dev/mirror/szymon.eli / ufs rw,userquota,groupquota 0 0


(i did it to make repquota work at all, with empty fstab doesn't, i found 
putting anything instead of /dev/mirror/szymon.eli make it work too)


then repquota works OK, edquota works, but is quickly losing the 
data. (typing sync once is enough)


any idea?


More information about the freebsd-questions mailing list