Univention Bugzilla – Bug 45668
umc cannot handle journaled quota
Last modified: 2018-09-07 13:19:14 CEST
A customer reported, that it is not possible to view quota in the UMC. The following message is shown The following partition is mounted without quota support: /dev/VG02/homes The configuration in /etc/fstab /dev/VG02/ /home/homes ext4 defaults,acl,user_xattr,usrjquota=aquota.user,jqfmt=vfsv1 0 2 The customer uses usrjquota instead of usrquota.
Created attachment 9286 [details] umc/python/quota/user.py patch to fix umc
(In reply to Felix Botner from comment #1) > Created attachment 9286 [details] > umc/python/quota/user.py > > patch to fix umc Feel free to merge.
Looks good to me either, tested on 4.2-2 Errata 198 without noticing regressions. Looking forward for integration so that we can remove this manual patch that is currently applied at that customer. -- Mathieu
fixed univention-quota.yaml 11.0.0-7A~4.2.0.201711301716
I have no clue about usrjquota. If I enter the option usrjquota=aquota.user in /etc/fstab the UMC module still shows the partition as deactivated (remount required?!). If I activate it, then the fstab entry has just another "usrquota" option. /etc/mtab still has no usrjquota. If I reboot the server I end up in / as mount only read only, dmesg shows: [Fr Dez 1 17:16:50 2017] EXT4-fs (dm-0): journaled quota format not specified Do I need to install another package?
(In reply to Florian Best from comment #5) > I have no clue about usrjquota. > > If I enter the option usrjquota=aquota.user in /etc/fstab the UMC module > still shows the partition as deactivated (remount required?!). > If I activate it, then the fstab entry has just another "usrquota" option. > /etc/mtab still has no usrjquota. > If I reboot the server I end up in / as mount only read only, dmesg shows: > [Fr Dez 1 17:16:50 2017] EXT4-fs (dm-0): journaled quota format not > specified > > Do I need to install another package? * add to /etc/fstab usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 * reboot/remount * -> quotaoff -guvp -a -> quotacheck -cguvamf -F vfsv0 -> edquota Administrator
OK: partition is detected as quota-enabled with the usrjquota=aquota.user option. OK: YAML
<http://errata.software-univention.de/ucs/4.2/235.html>