Re: Problems with quota on k_smp 2.4.20
Hello! After getting many posts I did a fix within /etc/init.d/quota to enable quotas on SL 8.2/smp kernel: [...] start) echo "Turning on quota " # NOTE: startproc return 0, even if service is # already running to match LSB spec. touch $RUNFILE insmod quota_v2 # <= change here for quotas on SuSE 8.2 with quota v2 support on smp kernel! $QUOTAON_BIN -avug # Remember status and be verbose rc_status -v ;; stop) [...] With this settings quotas work. This is for those having the same problems I had. Philippe
After getting many posts I did a fix within /etc/init.d/quota to enable quotas on SL 8.2/smp kernel:
insmod quota_v2 # <= change here for quotas on SuSE 8.2 with quota v2
Sorry - does this only happen with the smp kernel? The smp through me off track, but it seems to be true for any kernel. Quotas on the last SuSE versions have been more miss than hit. The first problem is that the module doesn't get loaded, ever since it's compiled as a module. The correct fix for that is to add it to MODULES_LOADED_ON_BOOT= in /etc/sysconfig/kernel. The intscripts will insmod it before quotas are turned on. Another problem is that you'll get messed badly if you use TMP_DIRS_TO_CLEAR="/tmp" CLEAR_TMP_DIRS_AT_BOOTUP="yes" in /etc/sysconfig/cron, and one of the directories which the want to clear the junk out of at boot (I always use that) is on a partition for which you have enabled quotas. The directories will get cleared before quotas are enabled, and there's no quotacheck anywhere - oops!! I'll take this as a reason to publish a bunch of small patches, one fixes the above: http://volker.dnsalias.net/soft/patch/suse8.2/ And there are also some for 8.1: http://volker.dnsalias.net/soft/patch/suse8.1/ HTH, Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me.
Hi, On Thu, Jan 08, 2004 at 11:26:45AM +1300, Volker Kuhlmann wrote:
The first problem is that the module doesn't get loaded, ever since it's compiled as a module. The correct fix for that is to add it to MODULES_LOADED_ON_BOOT= in /etc/sysconfig/kernel. The intscripts will insmod it before quotas are turned on.
I've taken the liberty to forward this mail to our quota maintainer. Did you submit these issues to our bugzilla? Regards, Olaf
Another problem is that you'll get messed badly if you use
TMP_DIRS_TO_CLEAR="/tmp" CLEAR_TMP_DIRS_AT_BOOTUP="yes"
in /etc/sysconfig/cron, and one of the directories which the want to clear the junk out of at boot (I always use that) is on a partition for which you have enabled quotas. The directories will get cleared before quotas are enabled, and there's no quotacheck anywhere - oops!!
I'll take this as a reason to publish a bunch of small patches, one fixes the above: http://volker.dnsalias.net/soft/patch/suse8.2/
And there are also some for 8.1: http://volker.dnsalias.net/soft/patch/suse8.1/
HTH,
Volker
-- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me.
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
-- Olaf Kirch | Stop wasting entropy - start using predictable okir@suse.de | tempfile names today! ---------------+
it's compiled as a module. The correct fix for that is to add it to MODULES_LOADED_ON_BOOT= in /etc/sysconfig/kernel. The intscripts will
Did you submit these issues to our bugzilla?
#27177 May 03. Closed/fixed Jul 03. The fix was to patch kernel to make sure quota modules get loaded on demand by quotaon. Seems like that patch wasn't backported into the 8.2 kernels. This ought to be in the sdb (now portal) - and so it is. May 03. Philippe could have saved himself some time had he checked the sdb first. Second issue: #33744, #33760 Dec 03. Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me.
participants (3)
-
Olaf Kirch
-
Philippe Vogel
-
Volker Kuhlmann