{"id":86,"date":"2013-10-01T14:26:55","date_gmt":"2013-10-01T14:26:55","guid":{"rendered":"http:\/\/muse.oneshot.in\/?p=86"},"modified":"2013-10-01T14:26:55","modified_gmt":"2013-10-01T14:26:55","slug":"how-to-enable-journaled-quota-in-a-rhelcentosfedora-ext3ext4-filesystem","status":"publish","type":"post","link":"https:\/\/muse.oneshot.in\/?p=86","title":{"rendered":"How to enable Journaled quota in a RHEL\/CentOS\/Fedora ext3\/ext4 filesystem"},"content":{"rendered":"<p>I am using a\u00a0 Red Hat Enterprise Linux 6 system with both ext3 and ext4 filesystem in mixed use. I have encountered an the below problem on running quotacheck<\/p>\n<p>#quotacheck -vug \/data\/sdk2<br \/>\n&#8220;quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.&#8221;<\/p>\n<p>How to enable journal quota for ext3\/ext4 filesystem so that the above warning can be avoided?<\/p>\n<p>Solution<\/p>\n<p>To enable journal quota on ext3\/ext4 filesystem, do the following:<br \/>\n1. Edit \/etc\/fstab file and add support to the filesystem that needs journal quota support. For only user quota support use something like:<\/p>\n<p>\/data\/sdk2\u00a0\u00a0\u00a0\u00a0 \/data\/sdk2\u00a0\u00a0\u00a0\u00a0 &lt;filesystem type&gt;\u00a0\u00a0\u00a0\u00a0 defaults,usrjquota=aquota.user,jqfmt=vfsv0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0 0<\/p>\n<p>For group quota support use:<\/p>\n<p>\/data\/sdk2\u00a0\u00a0\u00a0\u00a0 \/data\/sdk2\u00a0\u00a0\u00a0\u00a0 &lt;filesystem type&gt;\u00a0\u00a0\u00a0 defaults,grpjquota=aquota.grp,jqfmt=vfsv0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0 0<\/p>\n<p>If user and group quota is needed, then use:<\/p>\n<p>\/data\/sdk2\u00a0\u00a0\u00a0\u00a0 \/data\/sdk2\u00a0\u00a0\u00a0\u00a0 &lt;filesystem type&gt;\u00a0\u00a0 defaults,usrjquota=aquota.user,grpjquota=aquota.grp,jqfmt=vfsv0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0 0<\/p>\n<p>2. Remount the filesystem:<\/p>\n<p>#mount -o remount \/data\/sdk2<\/p>\n<p>3. Re-check the filesystem:<\/p>\n<p>#quotacheck -vug \/data\/sdk2<\/p>\n<p>The journal quota will now be enabled and the warnings messages will not appear anymore.<\/p>\n<p>Note: &lt;filesystem type&gt; should be replaced with ext3\/ext4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am using a\u00a0 Red Hat Enterprise Linux 6 system with both ext3 and ext4 filesystem in mixed use. I have encountered an the below problem on running quotacheck #quotacheck -vug \/data\/sdk2 &#8220;quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-86","post","type-post","status-publish","format-standard","hentry","category-information-technology","category-redhat"],"_links":{"self":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=86"}],"version-history":[{"count":2,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":88,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions\/88"}],"wp:attachment":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}