Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

CentOS 7 Quotas

Discussion in 'General Discussion' started by Franky Yu, Sep 9, 2015.

  1. Franky Yu

    Franky Yu Member

    Joined:
    Aug 26, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    I'm using XFS file system on my cpanel server and enable quota on centos 7.
    When i set quota on user, they still get unlimited, also warning reboot still show event i have reboot the server.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the output from:

    Code:
    mount
    cat /etc/fstab
    Also, have you tried running the "/scripts/fixquotas" command? Also, note the following quota from the previous thread:

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Franky Yu

    Franky Yu Member

    Joined:
    Aug 26, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    Helo,

    This is my mount & fstab :

    Code:
    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
    
    
    
     
    #3 Franky Yu, Sep 10, 2015
    Last edited by a moderator: Sep 11, 2015
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Franky Yu

    Franky Yu Member

    Joined:
    Aug 26, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    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
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Did you reboot the server after making that change?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Franky Yu

    Franky Yu Member

    Joined:
    Aug 26, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    Yes, i have
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Franky Yu

    Franky Yu Member

    Joined:
    Aug 26, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    This is the output when i running those scripts :

    Code:
    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.
    
     
    #9 Franky Yu, Sep 25, 2015
    Last edited by a moderator: Sep 25, 2015
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Franky Yu

    Franky Yu Member

    Joined:
    Aug 26, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    Like this one ? :

    root@arjuna [~]# quota tuberpraka
    root@arjuna [~]#
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice