NFS Client With Quota

Home » CentOS » NFS Client With Quota
CentOS 6 Comments

Hello. I am “koji”.

I have a question.

Can I mount a NFS with quota? (Not Server side)
I understand quota is set NFS server. But I must client side.
(Is rquota only report?)

Does anyone know a good solution?

Best regard.

koji

6 thoughts on - NFS Client With Quota

  • Quota are managed at the filesystem level, so they are managed by the NFS server. rquotad allow NFS clients to display users quotas when the filesystem is mounted. Be carefull withe autofs, if a remote filesystem is not mounted on the client, nos quotas are displayed by the quota command.

    Patrick

    koji.morikawa a

  • Thanks Patric

    Solaris can set quota on NFS mounted clients. This time, I made a question as we transition from Solaris to CentOS 6. Is it impossible in CentOS 6, too?

    koji

    /////////////////////////////////////////////////
    $B%7%9%F%`%:!&%G%6%$%s(B $B3t<02q

    $B”)(B530-6008
    $BBg:e;TKL6hE7K~66(B1$BCzL\(B8$BHV(B30$B9f(B OAP$B%?%o!<(B 8$B3,(B TEL$B!'(B06-6355-5971 FAX$B!'(B06-6355-5974 http://www.sdcj.co.jp/
    /////////////////////////////////////////////////

  • Thanks Patrick.

    For Solaris, quota can be set when mounting from NFS client.

    There is a transition from Solaris to CentOS 6 this time. Therefore, quota setting is required for NFS mounting from CentOS 6 as with Solaris.

    Is it still impossible for CentOS 6?

    koji

    /////////////////////////////////////////////////
    $B%7%9%F%`%:!&%G%6%$%s(B $B3t<02q

    $B”)(B530-6008
    $BBg:e;TKL6hE7K~66(B1$BCzL\(B8$BHV(B30$B9f(B OAP$B%?%o!<(B 8$B3,(B TEL$B!'(B06-6355-5971 FAX$B!'(B06-6355-5974 http://www.sdcj.co.jp/
    /////////////////////////////////////////////////

  • man rquotad:

    rquotad is an rpc(3) server which returns quotas for a user of a local
    filesystem which is mounted by a remote machine over the NFS. It also
    allows setting of quotas on NFS mounted filesystem (if configured dur-
    ing compilation and allowed by a command line option -S)…. etc

    Seams to be also possible to set quotas from the client, but I never use it.

    Patrick

    koji.morikawa wrote:


    ===================================================================
    | Equipe M.O.S.T. | |
    | Patrick BEGOU | mailto:Patrick.Begou@grenoble-inp.fr |
    | LEGI | |
    | BP 53 X | Tel 04 76 82 51 35 |
    | 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 |
    ===================================================================

  • Thank you very much.

    Previously, when I examined rquotad, I did not work as I expected. I will try to verify again.

    Best regard.

    koji

    /////////////////////////////////////////////////
    $B%7%9%F%`%:!&%G%6%$%s(B $B3t<02q

    $B”)(B530-6008
    $BBg:e;TKL6hE7K~66(B1$BCzL\(B8$BHV(B30$B9f(B OAP$B%?%o!<(B 8$B3,(B TEL$B!'(B06-6355-5971 FAX$B!'(B06-6355-5974 http://www.sdcj.co.jp/
    /////////////////////////////////////////////////

  • I gave up on NFS quotas – it was a while ago, but I seem to remember that it sort of just about worked with an EXT4 server file system, but was a pig with an XFS server. My instinct is that it shouldn’t have mattered what the server file system type was, but quotas are inevitably implemented differently and it just didn’t work very well. It wasn’t mission critical, so didn’t pursue it.

    P.