{"id":451,"date":"2013-04-03T14:20:20","date_gmt":"2013-04-03T12:20:20","guid":{"rendered":"http:\/\/songoku.homelinux.com\/wordpress\/?p=451"},"modified":"2013-04-03T14:20:20","modified_gmt":"2013-04-03T12:20:20","slug":"ensim-quota-fixer","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=451","title":{"rendered":"Ensim Quota Fixer"},"content":{"rendered":"<p>\n\tHello world,\n<\/p>\n<p>\n\tWe recently had some quota problems on one of our server with&nbsp;Ensim Control Panel. The control panel and&nbsp;command line quota tool reported other data than the users really used. Although the user had no files on the disk which were owned by him the quota reported a few megabytes used. I checked a few forums an read a few articles and wrote a bash script which fixes the quota problem.\n<\/p>\n<p>\n\tHere what it does:\n<\/p>\n<ul>\n<li>\n\t\tit turns off quota\n\t<\/li>\n<li>\n\t\tdoes a backup of your old quota files (aquota.user and aquota.group)\n\t<\/li>\n<li>\n\t\tscans new quota data\n\t<\/li>\n<li>\n\t\tre-enables quota\n\t<\/li>\n<li>\n\t\tand resets ensim users and admin quotas\n\t<\/li>\n<\/ul>\n<p>\n\tDownload the file, unzip it and run the script. Hope this helps someone as I struggled with this &quot;bug&quot; for some time.\n<\/p>\n<a  data-e-Disable-Page-Transition=\"true\" class=\"download-link\" title=\"Version 1.0\" href=\"https:\/\/ndk.sytes.net\/wordpress?download=989&amp;tmstv=1781126721\" rel=\"nofollow\" id=\"download-link-989\" data-redirect=\"false\" >\n\tEnsim Quota Fixer\t(2686 downloads\t)\n<\/a>\n\n","protected":false},"excerpt":{"rendered":"<p>Hello world, We recently had some quota problems on one of our server with&nbsp;Ensim Control Panel. The control panel and&nbsp;command line quota tool reported other data than the users really used. Although the user had no files on the disk which were owned by him the quota reported a few megabytes used. I checked a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,4,7],"tags":[],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-programming","category-servers"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=451"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}