Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2007 22:03:48 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        freebsd-questions@freebsd.org
Subject:   jail+quota problem!
Message-ID:  <20070920215729.U6764@wojtek.tensor.gdynia.pl>

next in thread | raw e-mail | index | archive | help
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@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@serwer ~]# jexec 8 usr/bin/su -
[root@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070920215729.U6764>