204800 / 1024 KBytes = 200MB
this is the soft limit. The hard limit is the second number (250MB in
this case)
This assumes a block size of 1024 Bytes (1KB). The exact numbers may be
wrong but you get the picture.
You should try to google your way out. Look for example at
http://www.linuxnetmag.com/en/issue6/m6quota1.html
for more detailed isntructions for suse
Winanjaya - PBXSoftwares.com wrote:
You wrote:
setquota USERNAME 204800 256000 0 0 /home
the numbers indicate a 200MB quota.
where 200MB come from? .. what 204800 used for and what 256000 used for ?
pls advise
Thanks a lot in advance
Regards
Winanjaya
----- Original Message -----
From: "Stefanos Karasavvidis" <[EMAIL PROTECTED]>
To: "Winanjaya - PBXSoftwares.com" <[EMAIL PROTECTED]>
Sent: Friday, February 03, 2006 4:21 PM
Subject: Re: [Samba] Set quota per user
You must have quota support on your file system
for debian
apt-get install quota quotatool
then in your fstab (/etc/fstab) you must enable quota on the file system
find in this file where your home directory is mounted and add
usrquota,grpquota
as parameters
for example
/dev/sdb1 /home ext3 defaults,usrquota,grpquota,acl 0 3
Then, for each user you want to set quota, you have to issue the
following command
setquota USERNAME 204800 256000 0 0 /home
the numbers indicate a 200MB quota. See man setquota for details
sk
Winanjaya - PBXSoftwares.com wrote:
Dear The Expert,
I am very new with this, I have configured samba as PDC on my RH 3, now
I
want to set the quota for each /home/user folder .. could any body pls
help
me..
thanks a lot in advance
Regards
Winanjaya
***********************
Our outgoing mail has been scanned by MSS.
***********************
***********************
Your mail has been scanned by MSS.
***********************
***********************
Our outgoing mail has been scanned by MSS.
***********************
--
======================================================================
Stefanos Karasavvidis
Electronic & Computer Engineer, M.Eng.
e-mail : [EMAIL PROTECTED]
Technical University of Crete, Campus
Information Systems Center
Address: Akrotiri, Chania, 73100
Tel.: Library Buildings
(+30) 28210 37352, (+30) 28210 37355, (+30) 28210 37376
Environmental Engineering Buildings
(+30) 28210 37766
Fax: (+30) 28210 37571
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba