Network and Storage Protocols

setting nfs3 quota using rpc

MICHAL_GRZEDZICKI
3,452 Views

8.1rc1 running 7-mode

client is running linux 3.2 with

Quota utilities version 4.00-pre1.

Compiled with: USE_LDAP_MAIL_LOOKUP EXT2_DIRECT HOSTS_ACCESS ALT_FORMAT RPC RPC_SETQUOTA BSD_BEHAVIOUR

mount options are

rw,sec=sys,noatime,tcp,soft,rsize=32768,wsize=32768,intr,nfsvers=3,usrquota

quota reporting works as expected, (there is a generic quota set for all users)

# quota -u 1296

Disk quotas for user xxx_www (uid 1296):

     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace

netapp-1b:/vol/vol_www1/

                  17444  104857600 104857600             349  4294967295 4294967295

but seting the quota fails

setquota -u 1296 -r 999 9999 999 999 /www_nfs/

setquota: Cannot write quota for 1003 on netapp-1b:/vol/vol_www1/: Connection refused

netapp replys with

Accept State: program can't support procedure (3)

to linux

V1 Procedure: SETQUOTA (3)

rpc call

What can be wrong about our setup ?

1 ACCEPTED SOLUTION

MICHAL_GRZEDZICKI
3,452 Views

answering to myself,

this won't work over rpc with netapp,

You can use netapp-managebility api and set quota using a simple script

--

Michal Grzedzicki

View solution in original post

1 REPLY 1

MICHAL_GRZEDZICKI
3,453 Views

answering to myself,

this won't work over rpc with netapp,

You can use netapp-managebility api and set quota using a simple script

--

Michal Grzedzicki

Public