Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
disk quota
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Sep 10, 2007 6:28 am    Post subject: disk quota Reply with quote

I could not find in web interface how to set this up. I know how to configure from cl but would like to understand how to do it in web menu.

thanks

ps. SMS really has alot of potential. I am enjoying playing with it.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Sep 10, 2007 7:24 am    Post subject: Reply with quote

There is a menu in webmin, under System that says Disk Quotas, have you tried this?
_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Sep 10, 2007 2:28 pm    Post subject: Reply with quote

Yes, I tried that. When I click on Disk Quotas it says I have to create that in Disk and Network Filesystems.

I click on that and don't see how to enable disk quotas. Maybe I just can't see it. Pointer?

thanks
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Sep 10, 2007 4:53 pm    Post subject: Reply with quote

You are right, webmin it's pretty weak on doing that.. 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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Mon Sep 10, 2007 5:12 pm    Post subject: Reply with quote

thanks. I knew how to configure from cl. I just had not done it yet for sms.

Its good to know that it shows up after cl config. AAh, another development task for the future Wink..

regards
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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