Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 7834  / 1 Year ago, wed, january 11, 2023, 3:24:50

I want to install Dovecot on Ubuntu 12.04 LTS, and it recommends that we place the control files into a partition which will not be limited by the filesystem quota.



If I create an ext4 partition with 2 gigs, how do I remove the quota on that partition? I know the partitions are defined in /etc/fstab, and I think usrquota and grpquota have to be explicitly set to disabled.



But I am unsure what the entire line should look like.



Is it something like:



/dev/hda2       /       ext4    defaults,usrquota,grpquota        1       0        0


On the other hand, I found something called quotaon and quotaoff. Would this be used instead of fstab? Is there a difference?


More From » 12.04

 Answers
7

Your mount points are defined in /etc/fstab and those options will be used by default every time you boot.



So if you use the line:



 /dev/hda2       /       ext4    defaults,usrquota,grpquota        1       0        0


quotas will be enabled when you boot.



The commands quotaon and quotaoff will enable / disable quotas from the command line.



See: http://manpages.ubuntu.com/manpages/dapper/man8/quotaon.8.html for additional options.



So if you wish to disable quotas by default, use noquota in fstab



/dev/hda2       /       ext4    defaults,noquota        1       0        0

[#32414] Thursday, January 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oargrou

Total Points: 336
Total Questions: 105
Total Answers: 113

Location: Vietnam
Member since Sun, Oct 18, 2020
4 Years ago
oargrou questions
Thu, May 13, 21, 16:38, 3 Years ago
Wed, Jul 21, 21, 01:38, 3 Years ago
Sat, May 15, 21, 17:39, 3 Years ago
Tue, May 24, 22, 14:58, 2 Years ago
Sat, Mar 19, 22, 05:22, 2 Years ago
;