|
[SMS] - Superb Mini Server Project Support Forum |
|
|
|
View previous topic :: View next topic |
Author |
Message |
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Sep 19, 2007 6:26 pm Post subject: Disk Quotas |
|
|
To be able to see disk quotas you need to edit /etc/fstab and add 'usrquota,grpquota' to your mount points
example: I use mount point /mnt/sdc5
Code: | /dev/sdc5 /mnt/sdc5 reiserfs auto,noatime,users,usrquota,grpquota,suid,dev,exec 0 1 # AutoUpdate |
after that you will be able to see disk quotas on Webmin. but you need to do a couple of things first to make it work.
Just do the following:
I will continue using mount point '/mnt/sdc5', you will probably use '/' as your mount point, so change it to yours.
Code: | touch /mnt/sdc5/aquota.user /mnt/sdc5/aquota.group
chmod 600 /mnt/sdc5/aquota.*
mount -o remount /mnt/sdc5 |
Now you can use disk quotas on webmin but since you are in bash you can enable it with the command:
'quotaon /mnt/sdc5/'
You can use quotacheck before enable them, example
'quotacheck -avugm'
Check all quota-enabled, locally-mounted file systems (-a)
Display status information as the quota check proceeds (-v)
Check user disk quota information (-u)
Check group disk quota information (-g)
Don’t try to remount filesystem read-only (-m)
and enabled them with arguments such as
'quotaon –avug'
Force all filesystems in /etc/fstab to have their quotas disabled (-a)
Display a message for each filesystem affected (-v)
Manipulate user quotas (-u)
Manipulate group quotas (-g)
But all those can be managed through webmin after doing the first steps
_________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|
SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
|
|
|