Search Engine: Elastic

Article ID: 131944, created on Dec 21, 2017, last review on Dec 21, 2017

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5

Symptoms

Standalone Shared hosting NG server is used.

Diskspace usage in CCP does not match actual Apache webspace size on FS.

    Diskspace
    736.4 MB used of 10 GB

While actually usage is bigger:

    [root@NGHOST01 webspace]# du -sh *
    4.0K    backup_data-21124.tar
    1.8M    backup_data-37516.tar
    71M     backup_data-37517.tar
    4.8G    backup_data-38124.tar
    8.0K    certs
    8.0K    cgi-bin
    28K     conf
    20K     error_docs
    7.5G    httpdocs
    141M    httpsdocs
    8.0K    pd
    4.0G    siteapps
    4.0K    webapps
    7.6M    webstat
    2.5M    webstatssl

Cause

The aquota.user file is missed for FS mounted with usrquota option:

    [root@NGHOST01 ~]# mount | grep usrquota
    /dev/mapper/data-vhost on /var/www/vhosts type ext4 (rw,noatime,data=writeback,barrier=0,usrquota)

    [root@NGHOST01 ~]# ls -laht /var/www/vhosts | grep aquota.user
    [root@NGHOST01 ~]#

Resolution

Rescan FS to create quotas file:

# quotacheck -b -a

It is strongly recommended to run quotacheck with quotas turned off for the filesystem. Otherwise, possible damage or loss to data in the quota files can result. It is also strongly recommended not to run quotacheck on a live filesystem as actual usage may change during the scan. To prevent this, quotacheck tries to remount the filesystem read-only before starting the scan. After the scan is done it remounts the filesystem read-write.

If solution does not help - contact Odin Technical Support.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF