• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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