NFS Mounts and Quota support

torqhost

Verified User
Joined
Mar 13, 2008
Messages
5
Hello,

I am trying to extend the storage capacity of my server. Since it's a 1U machine I cannot plug in a lot of HDDs. The solution I would like to use is have a 4U server filled with HDDs and mount it via NFS on the web server machine.
The question is how do I configure quotas for users when their storage is mounted from another machine?

Dennis
 
This question is OS specific and generally beyond the scope of this forum. This may help if you're using Linux, though it's old.

This How-To may also help.

Jeff
 
I am expiercing the same problem.

The problem is that DirectAdmin uses the repquota tool instead of the "quota" tool.

The repquota tool does not support calls over NFS/rpc. The manpage says:

"Report quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem) "

But that results in:
"Repquota cannot report through RPC calls."

So this is not a problem of the NFS-server, but the way DirectAdmin uses quota's.

Is there a solution for running /home over NFS and have quota's working?
 
Last edited:
Hello,

I'm not completely convinced that repquota doesn't support rpc, when the manpage says that "rpc" is a format option. To me, this would imply that repquota should be able to support it... perhaps needing a recompile to do so? I'm not sure, I've never tried quotas over an NFS. Perhaps someone has more experience in this area to get us more information on the subject. (NFS quotas would be beyond our tech support, but we're not opposed to correct info if changes need to be made)

John
 
I just took a look at the manpage of repquota in Ubuntu 9.04 and it says:

-F, --format=format-name
Report quota for specified format (ie. don’t perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0
(version 2 quota), xfs (quota on XFS filesystem)

RPC is not mentioned there. In the whole manpage there is nothing about RPC.

Code:
wido@wido-desktop:~$ repquota -V
Quota utilities version 3.16.
Compiled with: USE_LDAP_MAIL_LOOKUP EXT2_DIRECT HOST_ACCESS ALT_FORMAT RPC RPC_SETQUOTA BSD_BEHAVIOUR
Bugs to [email protected]
wido@wido-desktop:~$

The quota tools are compiled with RPC support, but this is only for the "quota" tool itself, using that over NFS/RPC works fine, it is repquota who is the problem here.

I am planning on running my /home over a Sun ZFS storage system, but before doing so, quota's over NFS should work :)
 
Back
Top