| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| baboo Senior Member
 
 
 Joined: 04 Sep 2007
 Posts: 676
 
 
 | 
			
				|  Posted: Mon Sep 10, 2007 6:28 am    Post subject: disk quota |   |  
				| 
 |  
				| 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 |  | 
	
		| gerasimos_h Site Admin
 
 
 Joined: 09 Aug 2007
 Posts: 1757
 Location: Greece
 
 | 
			
				|  Posted: Mon Sep 10, 2007 7:24 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		| baboo Senior Member
 
 
 Joined: 04 Sep 2007
 Posts: 676
 
 
 | 
			
				|  Posted: Mon Sep 10, 2007 2:28 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		| gerasimos_h Site Admin
 
 
 Joined: 09 Aug 2007
 Posts: 1757
 Location: Greece
 
 | 
			
				|  Posted: Mon Sep 10, 2007 4:53 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		| baboo Senior Member
 
 
 Joined: 04 Sep 2007
 Posts: 676
 
 
 | 
			
				|  Posted: Mon Sep 10, 2007 5:12 pm    Post subject: |   |  
				| 
 |  
				| 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
  .. 
 regards
 |  | 
	
		| Back to top |  | 
	
		|  |