LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Facing problem while setting user's quota on the nfs mounted folder . (https://www.linuxquestions.org/questions/linux-newbie-8/facing-problem-while-setting-users-quota-on-the-nfs-mounted-folder-756830/)

ilu_nishant 09-21-2009 02:51 PM

Facing problem while setting user's quota on the nfs mounted folder .
 
Hi Friends

I'm facing problem while setting quota on the nfs mounted folder on server2 m/c.

Sharing /users folder of Server1 m/c via nfs for Server-2 users .

Server-1 having ip XXX.XXX.XX.129 details :->

Step 1 :-
vi /etc/exports
/users XXX.XXX.XX.131(rw)
<wq>

Step 2 :-
service nfs restart

Step 3 :-
service iptables stop

Step 4 :-
chmod 7757 /users

Server-2 having ip add XXX.XXX.XX.131 details :-

I have mounted /users folder of Server-1 m/c to /client_user folder of Server-2 m/c.

Step 1 :-
service nfs restart

Step 2 :-
vi /etc/fstab
XXX.XXX.XX.129:/users /Client_user nfs defaults,usrquota 0 0
<wq>

Step 3 :-
mount -o remount /client_user

Here, I'm getting error mentioned as below :-
"Unsupported nfs mount option : usrquota

Please suggest how can set user quota for Server-2 users on this nfs mounted folder "/client_user" .


Thanks in advance !!

chrism01 09-21-2009 06:14 PM

If you look here http://linux.die.net/man/8/mount & http://linux.die.net/man/5/nfs, it would appear usrquota is not an nfs client option.
I believe that if the quotas are set on the server (which is where the files really are anyway), that should be sufficient.

jschiwal 09-21-2009 06:25 PM

You may find this mailing list page useful. The person replying outlines setting up quotas on the underlining filesystem, and which options are needed to edit quotas remotely.

http://www.mail-archive.com/fedora-l.../msg50090.html


All times are GMT -5. The time now is 12:02 AM.