|
From: Vern <ve...@cw...> - 2005-09-19 22:48:06
|
As I mentioned I have already enabled Quotas, what I need to know (withou= t using=20 Virtualmin) how do I say that UserX can only use 100 MEGs. Thanks ---------- Original Message -----------=20 From: "Vernon J. Spangler" <ve...@ve...>=20 To: <web...@li...>=20 Sent: Mon, 19 Sep 2005 15:11:44 -0700=20 Subject: RE: [webmin-l] Using User Quotas > Here is a link that will help you with that.=20 > http://www.swelltech.com/support/virtual-servers/index.html#quotas=20 >=20 > Quotas Setup=20 >=20 > Quotas on Linux are tricky, not because they are difficult to setup, bu= t=20 > because they are so poorly documented, and what documentation exists is= more=20 > often than not incorrect to the point of not working. If you are using = a=20 > relatively recent Linux version, the following instructions should work= =20 > without difficulty.=20 > Guidelines for Quotas=20 >=20 > Virtualmin uses standard system disk quotas to limit user disk usage.=20 > Because of this, all user data must reside on the same disk partition s= o=20 > that the system can maintain an accurate accounting of disk use. The /h= ome=20 > partition is an excellent choice for the user data directory, due to UN= IX=20 > tradition and user expectations. This is why we moved the mail spool to= a=20 > directory on the /home partition in the mail server sections, so that a= ll=20 > mail will reside on the same partition.=20 > Editing fstab=20 >=20 > The first step to enabling quotas is to turn them on in the /etc/fstab=20 > configuration file. You can do this in Webmin by browsing to the System= :Disk=20 > and Network Filesystems module. Then click on the /home partition link.= =20 > Finally, locate the Use Quotas? option and select User and Group from t= he=20 > dropdown list. Save your changes.=20 >=20 > You can also make this change manually, by editing the /etc/fstab in yo= ur=20 > favorite editor, and modifying the /home mount point entry to look some= thing=20 > like this:=20 >=20 > /dev/hda2 =A0 =A0 =A0/home =A0 =A0 =A0 =A0 =A0 ext3 =A0 =A0defaults,usr= quota,grpquota 1 1=20 >=20 > The important bit of the above example is the addition of the usrquota = and=20 > grpquota directives. These two items enable both user and group quotas.= =20 >=20 > After adding quota support to your fstab, you'll need to remount the=20 > filesystem, or reboot the system, to make the changes take effect.=20 >=20 > ------------------------------------------=20 > Vernon J. Spangler=20 > http://www.vernonspangler.org/=20 > (520) 512-8410 Home=20 > (520) 990-1863 Cell=20 > ve...@ve...=20 > ------------------------------------------=20 > =A0Powered by Windows XP Professional=20 > =A0 =A0Sent by Microsoft Outlook 2003=20 > -----Original Message-----=20 > From: Vern [mailto:ve...@cw...]=20 > Sent: Monday, September 19, 2005 3:00 PM=20 > To: Webmin List=20 > Subject: [webmin-l] Using User Quotas=20 >=20 > I have=A0users that I am allowing to store files on my server. How do I= go=20 > about=20 > limiting the amount of storage space they are using? I do have User Quo= tas=20 > set to User=20 > and Group, however I don't know how to limit each user specifically.=20 >=20 > Thanks=20 >=20 > -------------------------------------------------------=20 > SF.Net email is sponsored by:=20 > Tame your development challenges with Apache's Geronimo App Server. Dow= nload=20 > it for free - -and be entered to win a 42" plasma tv or your very own=20 > Sony(tm)PSP. =A0Click here to play: http://sourceforge.net/geronimo.php= =20 > -=20 > Forwarded by the Webmin mailing list at web...@li...= .net=20 > To remove yourself from this list, go to=20 > http://lists.sourceforge.net/lists/listinfo/webadmin-list=20 >=20 > -------------------------------------------------------=20 > SF.Net email is sponsored by:=20 > Tame your development challenges with Apache's Geronimo App Server. Dow= nload=20 > it for free - -and be entered to win a 42" plasma tv or your very own=20 > Sony(tm)PSP. =A0Click here to play: http://sourceforge.net/geronimo.php= =20 > -=20 > Forwarded by the Webmin mailing list at web...@li...= .net=20 > To remove yourself from this list, go to=20 > http://lists.sourceforge.net/lists/listinfo/webadmin-list=20 ------- End of Original Message ------- |