Is this normal? Error message from crontab.

freshmint

Verified User
Joined
Oct 10, 2005
Messages
113
I'm getting this on my email everyday:

quotaoff: /: Operation not supported
quotaoff: /: Operation not supported
quotaoff: /home: Operation not supported
quotaoff: /home: Operation not supported
quotaon: using //quota.group on
quotaon: /: Operation not supported
quotaon: using //quota.user on
quotaon: /: Operation not supported
quotaon: using /home/quota.group on
quotaon: /home: Operation not supported
quotaon: using /home/quota.user on
quotaon: /home: Operation not supported

It's basically the output from this command run on crontab by DA:

/usr/sbin/quotaoff -a; /sbin/quotacheck -aug; /usr/sbin/quotaon -a;

Is this normal or there's something wrong on my system? I'm using FreeBSD 4.11.

Thanks!
 
You have to have the quota option compiled into your kernel.

# Quota support
options QUOTA

Not sure if your kernel has that or not.

You could check

/usr/src/sys/i386/conf/GENERIC

and look for that options quota line. If it is missing you can add it and recompile your kernel by doing the following:

cd /usr/src
make buildkernel
make installkernel

After that completes reboot your system.

This wont work if you dont have all the source files in /usr/src though.

Good luck.
 
Ok, you're right, I don't have quota support compiled on my kernel. I have all sources on /usr/src/ and I'm willing to recompile.

I read this page for more information.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

So yes, the comands I should execute are:

cd /usr/src
make buildkernel KERNCONF=GENERICMODIFIED
make installkernel KERNCONF=GENERICMODIFIED

Now after I read this part I'm a little afraid:

Note: If you have added any new devices (such as sound cards) and you are running FreeBSD 4.X or previous versions, you may have to add some device nodes to your /dev directory before you can use them. For more information, take a look at Making Device Nodes section later on in this chapter.

As I said before, I'm running FreeBSD 4.11-STABLE, but I'm supposed to have a secondary HD with RAID-1 setup. Is that a device that would 'cause problems or stop functioning?

How should I proceed from here?

Thanks.
 
Ok, I tried it and it didn't work.

Well, it did... it seems I'm using the new kernel now, quota is working as it's supposed to, but before that I had a 4 hours downtime 'cause box wouldn't come back after reboot and, when it did, several others services were broken.

What may have caused that? Datacenter told me they had to remove all fstab options, but I checked and fstab is exactly the same I was using before.

Now ftpd is acting strange, it freezes for the client when he tries to get PASSIVE and MRTG isn't working anymore... SNMPD refuses connection. :confused:

I'm kinda lost. :(
 
You have to have the quota option compiled into your kernel.

# Quota support
options QUOTA

Not sure if your kernel has that or not.

You could check

/usr/src/sys/i386/conf/GENERIC

and look for that options quota line. If it is missing you can add it and recompile your kernel by doing the following:

cd /usr/src
make buildkernel
make installkernel

After that completes reboot your system.

This wont work if you dont have all the source files in /usr/src though.

Good luck.

I know this is an old thread but I just wanted to thank you for your instructions. I followed them verbatim and had success recompiling my kernel with QUOTA support.

I didn't have sources though to begin with in /usr/src/sys/ so I used 'sysinstall' went to 'Configure' then 'Distributions' then selected 'src' and checked 'base' and 'sys' which installed the system Kernel files needed.
 
Back
Top