#1  
Old 24th February 2009, 18:44
marcob marcob is offline
Member
 
Join Date: Nov 2008
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Question quota over nfs

Hi,
I'm trying to setup my first ispconfig box. I use a shared disk through NFS for my document root, etc.

So I want to use quota over NFS.
What I have done:

On NFS server:

installed quota package
touch /share1/quota.user /share1/quota.group

# fstab
/dev/sda5 /share1 ext3 defaults,usrquota,grpquota 0 1

mount -o remount /share1
quotacheck -avugm
quotaon -avug


Now.... What have I to do on client side?
Reply With Quote
Sponsored Links
  #2  
Old 24th February 2009, 19:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

as far as I know you can not use quota like this over nfs, as the users created by ispconfig are not available in /etc/passwd on the nfs server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th February 2009, 19:55
marcob marcob is offline
Member
 
Join Date: Nov 2008
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Default

ah... so quota over NFS is not supported by ispconfig? Maybe using NIS could do the trick?
Reply With Quote
  #4  
Old 24th February 2009, 20:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

Quote:
ah... so quota over NFS is not supported by ispconfig?
This has nothing to do with ISPConfig. Quota over NFS is not supported by Linux if both servers dont share the smae user accounts.

Quote:
Maybe using NIS could do the trick?
NIS might work, but I never tried it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 24th February 2009, 23:47
marcob marcob is offline
Member
 
Join Date: Nov 2008
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Default

I will try to implement NIS. I will post a minihowto in this topic when done.
Just to know, how ispconfig use quota? I noticed a cron entry twice a day that call /root/ispconfig/scripts/shell/quota_msg.php

repquota -au
repquota -ag

That's all?
Reply With Quote
  #6  
Old 25th February 2009, 11:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

ISPConfig sets the quota for every user and website if a user is created or modified.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 25th February 2009, 11:48
marcob marcob is offline
Member
 
Join Date: Nov 2008
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Default

scripts/lib/config.lib.php using setquota?

So it's setquota and repquota. Any other?

Thanks
Reply With Quote
  #8  
Old 26th February 2009, 21:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

No, these are the two commands.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mailbox quota again and again jmroth Installation/Configuration 4 1st September 2008 10:53
chgrp error new user DKA General 15 28th July 2008 18:45
Newbie Set Quota in NFS system budianto Server Operation 1 10th July 2007 16:06
Problems with copy & paste dspuser Server Operation 3 23rd May 2006 18:21
NFS Locking Failure and Updating solderboy Installation/Configuration 0 29th September 2005 22:59


All times are GMT +2. The time now is 00:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.