12-09-2011
The second link is for a Debian VServer. Personally I've never used that but the "traditional" way of setting up quotas on RHEL-based systems is by adding "usrquota" or "grpquota" to /etc/fstab and using commands like "quotaon", "edquota", "setquota", etc.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how can I check mail quota, and then how can I send mail to user whose quota get full??? :confused:
For this which script must I use? (8 Replies)
Discussion started by: emreatlier
8 Replies
2. Linux
I've a redhat 9.0 and I want to set a user quota.
but the question is where should I start from and
How ???
:confused: :confused: :confused: :confused: (2 Replies)
Discussion started by: KaiXiang
2 Replies
3. UNIX for Advanced & Expert Users
Hi Guru,
Need some advice on the PROs and CONs between setting up user quota with NAS and Nis.
Thanks
Regards. YLL (1 Reply)
Discussion started by: yll
1 Replies
4. UNIX for Dummies Questions & Answers
hi!
i would like to enable user quota on my system (FreeBSD 6.2)
i've check on enabling user quota here but i still confuse with fstab
it shows there:
/dev/da1s2g /home ufs rw,userquota 1 2
but my current /etc/fstab :
# Device Mountpoint FStype Options ... (1 Reply)
Discussion started by: rdns
1 Replies
5. Shell Programming and Scripting
Hi
I'm a student who is studying system administration. I need to write a perl script to allocate disk quota to users. I'm using ubuntu and When I try to run edquota command in command line it says that Can't find file system with quota. pls help me. I tried to edit fstab. but didn't work.
... (1 Reply)
Discussion started by: piumali
1 Replies
6. Red Hat
Hi,
I want to apply the user quota, but i am unable to apply the quota to user.
Kindly provide the guide line, so that i can sortout the problem.
Step 1: Create partion on device
#fdisk /dev/sda (because hard disk is scsi)
#n (new partition table) i.e /dev/sda8.
#p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies
7. Linux
I have setup a group quota for better disk usage.
What i am doing is to setup a quota with Samba share. I created user1,user2 and group project1 which belongs to /home/project1 dir. Quota is implemented on project1 group to write 100 MB on this share and This is working fine if a user1 and user2... (3 Replies)
Discussion started by: sunnysthakur
3 Replies
8. Red Hat
Hi,
I would like to know wheather we can increase the quota for particular user automatically?
I am having requirement to increase the quota only for 2 days in a week. but that shoule be automatically instead of manualy modification.
is it possible? (3 Replies)
Discussion started by: manoj.solaris
3 Replies
9. Shell Programming and Scripting
How the User Quota query from an SSH access to Linux Shell. (5 Replies)
Discussion started by: Linuxmann
5 Replies
10. UNIX for Beginners Questions & Answers
hi all,
i have installed quota on my centos 7 machine and its what im after (setting size limit on users, so they cant fill the hard drive)
i want to now make this part of my create user script for my sftp server so i want to do a echo and a read command so i capture the limit they enter... (0 Replies)
Discussion started by: robertkwild
0 Replies
LEARN ABOUT LINUX
quotaon
quotaon(1M) System Administration Commands quotaon(1M)
NAME
quotaon, quotaoff - turn ufs file system quotas on and off
SYNOPSIS
quotaon [-v] filesystem...
quotaon -a [-v]
quotaoff [-v] filesystem...
quotaoff -a [-v]
DESCRIPTION
quotaon turns on disk quotas for one or more ufs file systems.
Before a file system may have quotas enabled, a file named quotas, owned by root, must exist in the root directory of the file system. See
edquota(1M) for details on how to modify the contents of this file.
quotaoff turns off disk quotas for one or more ufs file systems.
The file systems specified must already be mounted.
These commands update the mntopts field of the appropriate entries in /etc/mnttab to indicate when quotas are on or off for each file sys-
tem. If quotas are on, the string quota will be added to mntopts; if quotas are off, the quota string is not present.
filesystem must be either the mount point of a file system, or the block device on which the file system resides.
OPTIONS
quotaon
-a This option is normally used at boot time to enable quotas. It applies only to those file systems in /etc/vfstab which have ``rq''
in the mntopts field, are currently mounted ``rw'', and have a quotas file in the root directory.
-v Display a message for each file system after quotas are turned on.
quotaoff
-a Force all file systems in /etc/mnttab to have their quotas disabled.
-v Display a message for each file system affected.
USAGE
See largefile(5) for the description of the behavior of quotaon and quotaoff when encountering files greater than or equal to 2 Gbyte ( 2
**31 bytes).
FILES
/etc/mnttab mounted file systems
/etc/vfstab list of default parameters for each file system
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
edquota(1M), quota(1M), quotacheck(1M), repquota(1M), mnttab(4), vfstab(4), attributes(5), largefile(5), quotactl(7I)
SunOS 5.10 16 Sep 1996 quotaon(1M)