Raln
25/11/2014, 22h01
up svp
~# quotacheck -vagum
quotacheck: Scanning /dev/disk/by-uuid/5134901f-1678-411e-8b6d-62e48c579e03 [/] done
quotacheck: Checked 6036 directories and 54532 files
root@name:~# quotaon -avug
quotaon: cannot find //aquota.group on /dev/disk/by-uuid/5134901f-1678-411e-8b6d-62e48c579e03 [/]
quotaon: cannot find //aquota.user on /dev/disk/by-uuid/5134901f-1678-411e-8b6d-62e48c579e03 [/]
root@name:~# quotatool -u mon_users -bq 200M -l '250 Mb' /
quotatool: Error while detecting kernel quota version: No such file or directory
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
# / was on /dev/sda2 during installation
UUID=5134901f-1678-411e-8b6d-62e48c579e03 / ext4 errors=remount-ro,usrquota,grpquota 0 1
# /boot was on /dev/sda1 during installation
UUID=459808fd-a834-46b9-bf4f-9fe602c2e248 /boot ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=9625ca5f-b34f-4a03-9607-fda708931e6b none swap sw 0 0
# grep -i CONFIG_QUOTA= /boot/config-*
CONFIG_QUOTA=y
Le kernel Linux doit être compilé avec les options quota.