Skip to main content

CentOS 7 Quotas

Comments

12 comments

  • cPanelMichael
    Hello :) Please post the output from:
    mount cat /etc/fstab
    Also, have you tried running the "/scripts/fixquotas" command? Also, note the following quota from the previous thread: Internal case CPANEL-563 is open to address an issue where if a partition other than /boot has noquota option set, it will cause the reboot warning to be displayed in WHM after the reboot due to the touch file being created. The temporary workaround at this time is to remove the /var/cpanel/reboot_required_for_quota touch file.
    Thank you.
    0
  • Franky Yu
    Helo, This is my mount & fstab :
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel) devtmpfs on /dev type devtmpfs (rw,nosuid,seclabel,size=3912536k,nr_inodes=978134,mode=755) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755) tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,seclabel,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) configfs on /sys/kernel/config type configfs (rw,relatime) /dev/mapper/centos_arjuna-root on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota) selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) debugfs on /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel) /dev/sda2 on /boot type xfs (rw,relatime,seclabel,attr2,inode64,noquota) /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro) # # /etc/fstab # Created by anaconda on Mon Aug 10 10:46:44 2015 # # 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/mapper/centos_arjuna-root/xfsdefaults,uquota11 UUID=7fc7ce4f-9dd3-4ac7-af11-a73e4cd48576 /boot xfs defaults 1 2 UUID=1136-D716 /boot/efi vfat umask=0077,shortname=winnt 0 0 /dev/mapper/centos_arjuna-swap swap swap defaults 0
    0
  • cPanelMichael
    /dev/mapper/centos_arjuna-root on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota)

    The following third-party URL may help:
    0
  • Franky Yu
    Hi, I have do that, here grub file : GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos_arjuna/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos_arjuna/root vconsole.keymap=us rhgb quiet rootflags=usrquota,grpquota" after i make grub, still nothing happen. any mistake that i make ? Thank you
    0
  • cPanelMichael
    Did you reboot the server after making that change? Thank you.
    0
  • Franky Yu
    Yes, i have
    0
  • cPanelMichael
    You may need to consult with your hosting provider or with a system administrator if the issue persists after running the "/scripts/initquotas" command. You should be able to run the "quota $username" command without an error message. Thank you.
    0
  • Franky Yu
    This is the output when i running those scripts :
    journaled quota support: kernel supports, user space tools supports (available) checking out /backup checking out /backup Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process. /dev/mapper/centos_arjuna-root (already configured quotas = 1). UUID=7fc7ce4f-9dd3-4ac7-af11-a73e4cd48576 (already configured quotas = 0). Quotas have been enabled and updated.
    0
  • cPanelMichael
    Can you run the "quota $username" command without an error message? If not, you should consult with your hosting provider or a system administrator to further review the quota issue on your filesystem. Thank you.
    0
  • Franky Yu
    Can you run the "quota $username" command without an error message? If not, you should consult with your hosting provider or a system administrator to further review the quota issue on your filesystem. Thank you.

    Like this one ? : root@arjuna [~]# quota tuberpraka root@arjuna [~]#
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • cPanelMichael
    To update, the user reinstalled their OS and followed the quota instructions for CentOS 7 at: Quota Modification - Documentation - cPanel Documentation Quota is now working as expected. Thank you.
    0

Please sign in to leave a comment.