{"id":555,"date":"2010-03-09T08:42:20","date_gmt":"2010-03-09T12:42:20","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=555"},"modified":"2013-03-20T08:42:23","modified_gmt":"2013-03-20T12:42:23","slug":"find_free_dqentry-data-block-full-but-it-shouldnt","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/find_free_dqentry-data-block-full-but-it-shouldnt","title":{"rendered":"find_free_dqentry(): Data block full but it shouldn&#8217;t."},"content":{"rendered":"<p><span style=\"color: #ff6600;\"><strong>Error:<\/strong><\/span><\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">VFS: Error -5 occurred while creating quota.<\/span>\r\n<span style=\"color: #0000ff;\">VFS: find_free_dqentry(): Data block full but it shouldn't.<\/span><\/pre>\n<\/blockquote>\n<p><span style=\"color: #ff6600;\"><strong>Explanation:<\/strong><\/span><\/p>\n<p>When the quota files i.e. aquota.user and aquota.group gets corrupt, you will notice the server logs with a message <strong>&#8220;VFS<strong>: Error -5 occurred while creating quota.<\/strong> find_free_dqentry(): Data block full but it shouldn&#8217;t&#8221;.\u00a0<\/strong><\/p>\n<p>The \u2018fixquotas\u2019 script is use to update the quota files but the script cannot read these files either thus increases the CPU usage while quota update is in process. The solution is to remove and create the aquota.user and aquota.group files and run the quotacheck again.<\/p>\n<p><span style=\"color: #ff6600;\"><strong>Solution:<\/strong><\/span><\/p>\n<p>First, turn off the quota:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># quotaoff -av<\/span><\/pre>\n<\/blockquote>\n<p>Move the aquota files i.e. \/aquota.user and \/aquota.group to a temporary directory.<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># mkdir \/root\/tmp_aquota<\/span>\r\n<span style=\"color: #0000ff;\"># mv \/aquota.* \/root\/tmp_aquota\/<\/span><\/pre>\n<\/blockquote>\n<p>Now, create the aquota.user and aquota.group files again<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># touch \/aquota.user<\/span>\r\n<span style=\"color: #0000ff;\"># touch \/aquota.group<\/span><\/pre>\n<\/blockquote>\n<p>Now, execute &#8216;quotacheck&#8217; to build a table of current disk usage.<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># \/scripts\/quotacheck\u00a0\u00a0 (cPanel server)<\/span>\r\nOR\r\n<span style=\"color: #0000ff;\"># quotacheck -augm<\/span><\/pre>\n<\/blockquote>\n<p style=\"text-align: justify;\">While quotacheck in process, you may see a message as <strong>&#8220;quotacheck : Warning quota files aquota.group was probably truncated. Can&#8217;t save quota settings&#8221;<\/strong> which is normal under these circumstances.<\/p>\n<p>Once the quotacheck process completes, turn on the quotas<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># quotaon -av<\/span><\/pre>\n<\/blockquote>\n<p>Quota update will work fine again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error:<\/p>\n<p>VFS: Error -5 occurred while creating quota.<br \/>\nVFS: find_free_dqentry(): Data block full but it shouldn&#8217;t.<\/p>\n<p>Explanation:<br \/>\nWhen the quota files i.e. aquota.user and aquota.group gets corrupt, you will notice the server logs with a message &#8220;VFS: Error -5 occurred while creating quota. find_free_dqentry(): Data block full but it shouldn&#8217;t&#8221;.\u00a0<br \/>\nThe \u2018fixquotas\u2019 script is use to update the quota files but the script cannot read these files either thus increases the CPU usage while quota update is in process. The solution is to remove and create the aquota.user and aquota.group files and run [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[741,736,738,737,740,735],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/555"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=555"}],"version-history":[{"count":9,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions"}],"predecessor-version":[{"id":2178,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions\/2178"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}