Package: quota
Version: 4.00~pre1-7
Severity: normal

--- Please enter the report below this line. ---

I am unable to setup "quota" on my server.

Is "quota" supported in kernel?

~# dmesg |grep -C 3 quota
[    1.017838] audit: initializing netlink socket (disabled)
[    1.017930] type=2000 audit(1304014442.016:1): initialized
[    1.034297] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[    1.038741] VFS: Disk quotas dquot_6.5.2
[    1.039059] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.039431] msgmni has been set to 1003
[    1.040135] alg: No test for stdrng (krng)
--
[   10.578085] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
(null)
[   10.640839] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: 
(null)
[   10.703048] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: 
(null)
[   10.787074] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: 
usrjquota=aquota.user,jqfmt=vfsv0
[   10.863369] EXT4-fs (dm-4): mounted filesystem with ordered data mode. Opts: 
(null)
[   11.559495] eth0:  setting full-duplex.
[   14.269939] ADDRCONF(NETDEV_UP): eth1: link is not ready

Modul is loaded (through /etc/modules)
~# lsmod | grep quota
quota_v2               12823  0 
quota_tree             12771  1 quota_v2

Is filesystem mounted with appropriate parameters?
~# mount
...
/dev/mapper/linux-home on /home type ext4 
(rw,noexec,nosuid,nodev,usrjquota=aquota.user,jqfmt=vfsv0)
...

Now quota should be activated:
~# quotacheck -avum
quotacheck: WARNING -  Quotafile /home/aquota.user was probably truncated. 
Cannot save quota settings...

~# quotaon -avu
quotaon: Cannot find quota file on /home [/dev/mapper/linux-home] to turn 
quotas on/off.

Quota file exists?:
~# ll /home/ |grep quota
-rw-------  1 root       root           0 Apr 28 18:46 aquota.user


~# quotatool -u marek -bq 200M -l '250 Mb' /home
quotatool: Error while detecting kernel quota version: No such process

Where is problem? Could be problem in combination of raid0 and LVM2? Or is 
there support for ext4 in quota?

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.38-2-686

Debian Release: wheezy/sid
  500 testing         ftp.at.debian.org 

--- Package information. ---
Depends               (Version) | Installed
===============================-+-==============
e2fslibs              (>= 1.37) | 1.41.12-2
libc6             (>= 2.3.6-6~) | 2.11.2-11
libcomerr2            (>= 1.01) | 1.41.12-2
libdbus-1-3          (>= 1.0.2) | 1.4.6-1
libldap-2.4-2        (>= 2.4.7) | 2.4.25-1
libnl1                 (>= 1.1) | 1.1-6
libwrap0            (>= 7.6-4~) | 7.6.q-19
debconf             (>= 1.2.9)  | 1.5.38
 OR debconf-2.0                 | 
lsb-base            (>= 3.2-13) | 3.2-27


Package's Recommends field is empty.

Suggests              (Version) | Installed
===============================-+-===========
libnet-ldap-perl                | 
rpcbind                         | 
 OR portmap                     | 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to