[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with quotatool



Hello,

I have a problem on 2 Wheezy installations in Vmware, if I want to set
quota for a user:

bastelecke:~# quotatool -u tutor -bq 2000M -l 2500M /
quotatool: Error while detecting kernel quota version: No such file or
directory

the strace does not tell me much that helps:

bastelecke:~# strace quotatool -u tutor -bq 2000M -l 2500M /
[...]
open("/proc/fs/quota", O_RDONLY)        = -1 ENOENT (No such file or
directory)
stat64("/proc/sys/fs/quota", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
quotactl(Q_GETFMT|USRQUOTA, "rootfs", 0, 0xbfa7387c) = -1 ENOENT (No
such file or directory)
write(2, "quotatool: ", 11quotatool: )             = 11
write(2, "Error while detecting kernel quo"..., 70Error while detecting
kernel quota version: No such file or directory
) = 70
[...]

FS is mouted with usrquota:

/dev/disk/by-uuid/a7... on / type ext3
(rw,relatime,errors=remount-ro,barrier=1,data=ordered,usrquota)

Kernel modules are loaded:

bastelecke:~# lsmod | grep quota
quota_v2               12823  1
quota_tree             12771  1 quota_v2

Both OS are updated.

bastelecke:~# cat /etc/debian_version
7.6


Any idea what could be the problem?

Thanks in advance,
Peter


Reply to: