Skip to contentSkip to conversation

quotas over NFS

DISCUSSION Laurent HENRY 2 participants 2 messages Feb 16, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi

i'm coming here with a question i think you've heard a lot before.
I didn't find any documentation about it anywhere about setting up quotas over NFS

On my Suse 8.1 (kernel 2.4.21168) system with 3-10 pre1 quota-tools All local quotas works well but i can't use it through NFS

s a test, i'm accessing the /home (the one with quota) partition mounting it locally by NFS

#mount -t nfs aa.bb.cc.dd:/home/ /mnt/

#quota laurent
Disk quotas for user laurent (uid 504):
Filesystem blocks quota limit grace files quota limit
grace

      /dev/sdb1  155813*  20000   25000             505       0       0        
aa.bb.cc.dd::/home
                 155813*  20000   25000             505       0       0  

And i still can't write while in local partition(normal behavior because i'm over quota)
#cd /home
#cp big-file big-file2
sd(8,17): write failed, user block limit reached.

But on the NFS mounted partition
#cd /mnt
#cp big-file big-file2
all is Ok and the file is written

Can anybody give me a clue ? Or at least the URL toward some explanation of the correct use

PS:
the quota_v2 module is loaded
The portmapper is running well
rpcinfo -p give me: portmapper,rquotad,mountd,nfs,nlockmgr running

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

It sounds like you're using the user space nfsd. Quotas don't work with unfsd; you should try the kernel nfsd instead.

Olaf

Signature · 13 lines
Olaf Kirch     |  Stop wasting entropy - start using predictable
[email protected]   |  tempfile names today!
---------------+ 


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs