
22nd August 2005, 08:48
|
|
Member
|
|
Join Date: Jul 2005
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quota Clear Up
The following steps are from the perfect debian setup page:
touch /quota.user /quota.group
chmod 600 /quota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
This is from the ispconfig.com site:
Edit the file /etc/fstab and look for the entry, in which the directory /home is mentioned, e.g.
/dev/hda6/home ext2 default 1 2
Add the words usrquota and grpquota as follows:
/dev/hda6 /home ext2 defaults,usrquota,grpquota 1 2
Create the files aquota.user and aquota.group in the directory /home:
touch home/aquota.user
and
touch /home/aquota.group
Change the properties of the new files:
chmod 600/home/aquota.*
Reboot the server:
shutdown -r now
After the restart you have to do the following:
quotacheck -avugm
and
quotaon -avug
I take it both steps are the same correct?
|

22nd August 2005, 10:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
For a DEBIAN Setup, follow the steps on the DEBIAN Howto.
|

22nd August 2005, 11:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by linutzy
The following steps are from the perfect debian setup page:
touch /quota.user /quota.group
chmod 600 /quota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
This is from the ispconfig.com site:
Edit the file /etc/fstab and look for the entry, in which the directory /home is mentioned, e.g.
/dev/hda6/home ext2 default 1 2
Add the words usrquota and grpquota as follows:
/dev/hda6 /home ext2 defaults,usrquota,grpquota 1 2
Create the files aquota.user and aquota.group in the directory /home:
touch home/aquota.user
and
touch /home/aquota.group
Change the properties of the new files:
chmod 600/home/aquota.*
Reboot the server:
shutdown -r now
After the restart you have to do the following:
quotacheck -avugm
and
quotaon -avug
I take it both steps are the same correct?
|
As always, it depends...
If you have a large / partition with all your websites and mailboxes on it, then do this:
Code:
touch /quota.user /quota.group
chmod 600 /quota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
If you have a partition for /home with your users' web sites on it, then do the same for /home.
|

23rd April 2006, 11:35
|
|
Senior Member
|
|
Join Date: Apr 2006
Posts: 479
Thanks: 7
Thanked 3 Times in 3 Posts
|
|
Why you are speaking about two different quotafiles? (Perfect Setup and ISPC quota setup)
Quote:
|
touch /quota.user /quota.group > (Perfect Setup)
|
and
Quote:
|
touch /home/aquota.user /home/aquota.group > (ISPC quota setup)
|
In the manpage of quota it says:
Quote:
aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
---------------------
quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
|
So the use of the quotafiles seems to depence on the quota version and not directly on an OS but OS can have diffenrent versions of quota.
right?
tom
|

23rd April 2006, 15:29
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Yes, it depends on the quota version that ships with your linux distribution.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 01:58.
|
Recent comments
17 hours 25 min ago
22 hours 41 min ago
22 hours 52 min ago
23 hours 16 sec ago
1 day 2 min ago
1 day 2 hours ago
1 day 4 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 6 hours ago