Re: Problem with quotatool

2014-10-22 Thread Peter Buzanits
 Have you created quotas in the first place?  I seem to vaguely remember
 that you can get the message you got when no quotas have been set yet.

Yes, I used quotas and quotatool without problems for years. But some day -
unfortunately I don't know when - it stopped working. Because quotatool was
always called by a script I did not recogize the error a long time. It is
possible that it happened after the upgrade to Wheezy...


Re: Problem with quotatool

2014-10-20 Thread Peter Buzanits
Am 2014-10-19 um 13:47 schrieb lee:

 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
 
 Which version of VMWare and Debian kernel are you using?
 

VMware ESX 4.0.0 Build 236512

3.2.0-4-486 #1 Debian 3.2.60-1+deb7u3 i686 GNU/Linux


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5444eac6.6010...@gmail.com



Re: Problem with quotatool

2014-10-20 Thread Peter Buzanits
Am 2014-10-20 um 15:17 schrieb Tanstaafl:
 On 10/20/2014 6:58 AM, Peter Buzanits buzan...@gmail.com wrote:
 VMware ESX 4.0.0 Build 236512
 
 That is really old...

You think that the hypervisor could cause problems in the kernel? Are
there any known issues with old VMware and new Linux kernels?



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/544510a6.7020...@gmail.com



Problem with quotatool

2014-10-17 Thread Peter Buzanits
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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5440d912.1030...@gmail.com