Webfoundry
Verified User
Quota used to work fine, but for some reason now it doesn't and I can't get it fixed.
/usr/sbin/repquota /home or /usr/sbin/repquota /usr return the same error.
Code:
[root@server /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda 20G 7.6G 12G 40% /
tmpfs 2.0G 168K 2.0G 1% /dev/shm
/dev/sdb 20G 447M 19G 3% /mnt/backup
Code:
[root@server /]# /usr/sbin/repquota /
repquota: Cannot stat() mounted device /dev/root: No such file or directory
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
/usr/sbin/repquota /home or /usr/sbin/repquota /usr return the same error.
Code:
# Created by anaconda on Sun Mar 9 13:40:48 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/sda / ext4 rw,usrquota,grpquota,noatime,errors=remount-ro 0 1
/dev/sdc none swap sw 0 0
tmpfs /dev/shm tmpfs nodev,nosuid,noexec,mode=1777 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
/proc /proc proc defaults 0 0
/dev/sdb /mnt/backup ext4 defaults 0 0
Code:
[root@server usr]# mount
/dev/sda on / type ext4 (rw,noatime,usrquota,grpquota,errors=remount-ro)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
/dev/sdb on /mnt/backup type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
Code:
[root@server usr]# /usr/local/directadmin/directadmin c | grep quota_partition
quota_partition=/
ext_quota_partitions=
Code:
[root@server usr]# ls -lad /home/tmp
drwxrwxrwt 2 root root 4096 Aug 15 00:10 /home/tmp
Code:
[root@server usr]# ls -la /home/tmp
total 8
drwxrwxrwt 2 root root 4096 Aug 15 00:10 .
drwx--x--x 34 root root 4096 Aug 5 16:14 ..
Last edited: