• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Enable Quota on CentOS 6

Roberto Nunez

Basic Pleskian
Hello,
I find a problem with CentOS 6.2-6.3 because I can not enable quotas.

I read http://kb.parallels.com/en/768/, but it doesnt work.

I read http://www.centos.org/docs/5/html/D...h-disk-quotas.html#s1-disk-quotas-configuring AND
https://access.redhat.com/knowledge...x/6/html-single/Storage_Administration_Guide/

My /etc/fstab is:

/dev/mapper/VolGroup-lv_root / ext4 defaults,usrquota 1 1
UUID=dae3674a-f8bf-41a8-944e-a56bc8572bd3 /boot ext4 defaults 1 2
/dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc

[root@173 /]$ mount | grep quota
/dev/mapper/VolGroup-lv_root on / type ext4 (rw,usrquota)

[root@173 /]$ quotaon /dev/mapper/VolGroup-lv_root
quotaon: cannot find //quota.user on /dev/mapper/VolGroup-lv_root [/]
[root@173 /]$
[root@173 /]$ quotaon /
quotaon: Cannot find quota file on / [/dev/mapper/VolGroup-lv_root] to turn quotas on/off.

Can someone help me?
 
[root@173 /]$ quotacheck -c
Bad number of arguments.
Utility for checking and repairing quota files.
quotacheck [-gucbfinvdmMR] [-F <quota-format>] filesystem|-a

-u, --user check user files
-g, --group check group files
-c, --create-files create new quota files
-b, --backup create backups of old quota files
-f, --force force check even if quotas are enabled
-i, --interactive interactive mode
-n, --use-first-dquot use the first copy of duplicated structure
-v, --verbose print more information
-d, --debug print even more messages
-m, --no-remount do not remount filesystem read-only
-M, --try-remount try remounting filesystem read-only,
continue even if it fails
-R, --exclude-root exclude root when checking all filesystems
-F, --format=formatname check quota files of specific format
-a, --all check all filesystems
-h, --help display this message and exit
-V, --version display version information and exit

Bugs to [email protected]
[root@173 /]$ quotacheck -c /
quotacheck: Cannot guess format from filename on /dev/mapper/VolGroup-lv_root. Please specify format on commandline.
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
 
Back
Top