#1  
Old 3rd June 2011, 21:57
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default Quota on ISPConfig3 problem

/etc/fstab

Code:
# / was on /dev/md1 during installation
UUID=be4fc8a4-33f9-4ffa-a204-33e0051d32d7 /               ext4    errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0    0       1
# /tecdata was on /dev/md2 during installation
UUID=a413be56-17c3-4262-aa2f-83a06a76d6bf /tecdata        ext4    defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0        0       2
# /tecdatabackup was on /dev/sde1 during installation
UUID=86998da5-58ae-4f09-bfaa-74658af88203 /tecdatabackup  ext4    defaults        0       2
# swap was on /dev/md0 during installation
UUID=ab8fc625-9326-469e-95c1-bee359289b57 none            swap    sw              0       0
I used:

Remount both units:
mount -o remount /
mount -o remount /tecdata

Quotacheck on all fs:
quotacheck -avugm

Quotaon on all fs:
quotaon -avug

The problem is that, when I use a limit for a user/website (hard disk space limit), it is displayed as the doubled!

e.g: If I set 450 as limit, 900 is show as soft limit in ISPConfig3.

I think that it is being computed for both fs (as if the user has a 450 limit in each device...)... so... what I have to disable? do I have to quotaoff -vug /dev/md1 for this to work? all user data, db too will be on /tecdata

thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 6th June 2011, 10:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,003
Thanks: 825
Thanked 5,376 Times in 4,223 Posts
Default

Thats normal on a setup which uses quota on more then one partition. The reason for this is that the Linux quota is calculated for every partition seprately. So if you have 100MB quta set for a user, then this user has 100MB on each partition.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th June 2011, 13:41
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

Thank you Till. I just want to save user data on tecdata partition. So, I need to disable quota for OS partition... it is just a quotaoff? do I have to do another thing?
Reply With Quote
  #4  
Old 6th June 2011, 14:29
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,003
Thanks: 825
Thanked 5,376 Times in 4,223 Posts
Default

I would remove the ",usrjquota=aquota.user,grpjquota=aquota.group,jqf mt=vfsv0" from the backup partition and then remount it. The quota as displayed in ispconfig should change then after a few minutes (at least 5 minutes).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 6th June 2011, 16:33
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
 
Default

Till, I don't have quota enabled on backup partition. Right now, this are my settings

/

UUID=be4fc8a4-33f9-4ffa-a204-33e0051d32d7 / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jq fmt=vfsv0 0 1


/tecdata

UUID=a413be56-17c3-4262-aa2f-83a06a76d6bf /tecdata ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.gr oup,jqfmt=vfsv0 0 2

All user data will be saved on /tecdata.

I did the follow:
removed ",usrjquota=aquota.user,grpjquota=aquota.group,jqf mt=vfsv0" in fstab for md1 (where / is mounter)
quotaoff -vug /dev/md1
mount -o remount /dev/md1
deleted /aquota.user and /aquota.group
updated values in ispconfig

Right now, I have the correct numbers displayed in ISPConfig for the user. I have to test it later to see if quota limit is working correctly as I want... I think it should...

Please, do I will have a problem having deleting aquota.user and aquota.group, after disabling quota in md1 and turning it off?

If this is incorrect, please explain me.

Really, thank you very much for all your help.
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
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Suse 11.3 Quota and Backup problem IKShadow Installation/Configuration 2 29th December 2010 14:29
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
Maildir Quota Problem grafzahl Installation/Configuration 2 7th March 2008 17:07


All times are GMT +2. The time now is 19:55.


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