{"id":167,"date":"2011-04-07T13:08:51","date_gmt":"2011-04-07T13:08:51","guid":{"rendered":"http:\/\/songoku.homelinux.com\/wordpress\/?p=167"},"modified":"2011-04-07T13:08:51","modified_gmt":"2011-04-07T13:08:51","slug":"167","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=167","title":{"rendered":"Creating quotas on CentOS 5"},"content":{"rendered":"<p>To implement disk quotas, use the following steps:<\/p>\n<ol>\n<li>Enable quotas per file system by modifying the \/etc\/fstab file:<br \/>\n\t\t<em>\/dev\/VolGroup00\/LogVol02 \/home ext3 defaults,usrquota,grpquota 1 2<\/em><\/li>\n<li>Remount the file system(s).:<br \/>\n\t\t<em>mount -o remount &lt;file-system&gt;<\/em><\/li>\n<li>Create the quota database files and generate the disk usage table.:<br \/>\n\t\t<em>quotacheck -cug -F vfsv0 &lt;file-system&gt;<br \/>\n\t\tquotacheck -avug<\/em><\/li>\n<li>Assign quota policies.:<br \/>\n\t\t<em>edquota &lt;username&gt;<\/em><\/li>\n<\/ol>\n<p>source: <a href=\"http:\/\/www.linuxtopia.org\/online_books\/centos5\/centos5_administration_guide\/centos5_ch-disk-quotas.html#s1-disk-quotas-configuring\" target=\"_blank\">http:\/\/www.linuxtopia.org\/online_books\/centos5\/centos5_administration_guide\/centos5_ch-disk-quotas.html#s1-disk-quotas-configuring<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To implement disk quotas, use the following steps: Enable quotas per file system by modifying the \/etc\/fstab file: \/dev\/VolGroup00\/LogVol02 \/home ext3 defaults,usrquota,grpquota 1 2 Remount the file system(s).: mount -o remount &lt;file-system&gt; Create the quota database files and generate the disk usage table.: quotacheck -cug -F vfsv0 &lt;file-system&gt; quotacheck -avug Assign quota policies.: edquota &lt;username&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-servers"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/167","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=167"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}