quotas on nfs share

Aldo Foot lunixer at gmail.com
Fri Aug 14 00:01:00 UTC 2009


On Wed, Aug 12, 2009 at 9:25 PM, Chris Adams<cmadams at hiwaay.net> wrote:
> Once upon a time, Aldo Foot <lunixer at gmail.com> said:
>> I cannot believe that it's not possible to enable nfs quotas *on fedora* at all.
>> I guess this is not done frequently enough to catch people's attention.
>
> With NFS, quotas are set up on the server's underlying filesystem.  You
> then run rpc.rquotad on the server (which the Fedora nfs init script
> starts by default).
>
> I just set up quotas on my home NFS server (which is still running F9).
> I had to reboot to get them enabled on the filesystem (probably could
> have unmounted/remounted and then restarted NFS services, but this box
> reboots in under a minute anyway).  I can see them with the quota
> command on the NFS client, and they are enforced.
>
> If you want to edit quotas remotely, you have to use the -r option to
> edquota.  This also requires adding the -S option to the rpc.rquotad
> call (in /etc/sysconfig/nfs on Fedora), but only works in rpc.rquotad
> was compiled with that support; the version in F9 and F10 was not, but
> F11 includes this support.
>
> None of the other quota commands (such as quotacheck, quotaon, etc.)
> work on the NFS client, because those operate directly on the local
> filesystem only.
>
> All of this works fine for me between an F9 NFS server and an F11 NFS
> client, except for the rpc.rquotad -S option (which should work when I
> get the NFS server upgraded).
_______

Interesting.

>From what you say, it appears the only difference is that I have a
CentOS server and an F11 client. So far, I've only used remount to
enable the quotas on the server. I'll see what reboot does. I'll try
the 'edquota -r'.

I'm don't have access to the computers at this time.
I'll try next week and post back
Thanks for taking the time.
~af




More information about the users mailing list