>> >>I have a productive web server on which I would like to enable quotas, I
>> >>have added "rq" to the mount options in /etc/vfstab but I need to enable
>> >>it. Is that possible without unmounting and remounting the partion ?? Or
>> >>maybe a quick remount ?
>> > No. You need to shutdown the web server, unmount the filesystem, and
>> > remount it with quotas enabled.
>> No need to remount. Just use the quotaon command.
>So quotad (or some such daemon) deals with overquotas rather than the
>filesystem itself?
There is no daemon: all quota computations are done inside the kernel.
quotaon(1m) just does the necessary ioctl(Q_QUOTACTL) to turn it all on.
But this certainly isn't all you need to do to turn on quotas for a running
system: you will need to run quotacheck(1m) first to set the usages, and
of course there should be no [relevant] filing system activity between the
quotacheck and the quotaon if you want the numbers to end up right.
And whether you reboot or not, you will need to actually set some quotas
first, using edquota(1m) if you have nothing better. The OP didn't mention
this step at all.
Chris Thompson
Email: cet1 [at] cam.ac.uk