Error:

VFS: Error -5 occurred while creating quota.
VFS: find_free_dqentry(): Data block full but it shouldn’t.

Explanation:

The error message “find_free_dqentry(): Data block full but it shouldn’t” appears in the server logs when the files “aquota.user and aquota.group” are mostly corrupted. The ‘fixquotas’ cannot read these files and thus increases CPU usage while quota update is in process. You need to create new aquota.user and aquota.group files and execute the quotacheck again.

Solution:

First, turn off the quota:

# quotaoff -av

Move the aquota files i.e. /aquota.user and /aquota.group to a temporary directory.

    # mkdir /root/tmp_aquota
    # mv /aquota.* /root/tmp_aquota/

Now, create these files again with the touch command

    # touch /aquota.user
    # touch /aquota.group

Now, execute ‘quotacheck’. quotacheck  examines  each  filesystem,  builds a table of current disk usage.

    # /scripts/quotacheck   (cPanel server)
    OR
    # quotacheck -augm

While in process, you may see a message as “quotacheck : Warning quota files aquota.group was probably truncated. Can’t save quota settings” which is normal under this circumstances.

Once the quotacheck process completes, turn on the quotas

# quotaon -av

Quota update will work fine again.

Incoming search terms: