LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2009, 02:51 PM   #1
ilu_nishant
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Rep: Reputation: 1
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 !!
 
Old 09-21-2009, 06:14 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
Old 09-21-2009, 06:25 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can NFS clients see mounted network files/folders in exported folder??? khaos83 Linux - General 4 12-18-2008 08:02 PM
problem with mounted folder texuser74 Linux - Newbie 9 02-04-2008 08:34 PM
setting quota on a user's mailbox on a RHEL_AS MX server Vasili Linux - Networking 1 08-15-2006 01:28 PM
(re)sharing an nfs-mounted folder with samba rtspitz Linux - Networking 1 02-13-2005 01:36 PM
quota problem with nfs stand Linux - General 1 07-07-2004 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration