Sponsored Content
Operating Systems Linux Red Hat Auto Increasing Quota for User. Post 302736097 by thmnetwork on Monday 26th of November 2012 07:41:36 PM
Old 11-26-2012
You would be scheduling a setquota(8) once to put the increase in place and then another two days afterwards where another setquota is scheduled to set them back to the "normal" value.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how can I check the user's mail quota?

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

How to set user quota

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

User Quota setting with NIS and NAS

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

Enable user quota

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. UNIX for Dummies Questions & Answers

Increasing Disk Quota

I keep getting an error on my site that says: The server is a 250gb dedicated server so I would have thought I had more than enough space. What does this actually mean and can I increase the disk quota? Thanks (0 Replies)
Discussion started by: thehaapyappy
0 Replies

6. Shell Programming and Scripting

allocate user quota using perl script

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

7. Red Hat

User quota

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

8. UNIX for Advanced & Expert Users

lvm user quota

Whats the best method of setting lvm user quota? I saw both of these and I am not sure which to use. Linux File System Quotas Howtos Linux-Vserver With LVM And Quotas - 5dollarwhitebox.org Media Wiki (1 Reply)
Discussion started by: cokedude
1 Replies

9. Shell Programming and Scripting

Read the USER Quota in SSH

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

Set hard block limit for user using quota

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
SETQUOTA(2)							System Calls Manual						       SETQUOTA(2)

NAME
setquota - enable/disable quotas on a file system SYNOPSIS
setquota(special, file) char *special, *file; DESCRIPTION
Disc quotas are enabled or disabled with the setquota call. Special indicates a block special device on which a mounted file system exists. If file is nonzero, it specifies a file in that file system from which to take the quotas. If file is 0, then quotas are disabled on the file system. The quota file must exist; it is normally created with the quotacheck(8) program. Only the super-user may turn quotas on or off. SEE ALSO
quota(2), quotacheck(8), quotaon(8) RETURN VALUE
A 0 return value indicates a successful call. A value of -1 is returned when an error occurs and errno is set to indicate the reason for failure. ERRORS
Setquota will fail when one of the following occurs: [ENOTDIR] A component of either path prefix is not a directory. [EINVAL] Either pathname contains a character with the high-order bit set. [EINVAL] The kernel has not been compiled with the QUOTA option. [ENAMETOOLONG] A component of either pathname exceeded 255 characters, or the entire length of either path name exceeded 1023 characters. [ENODEV] Special does not exist. [ENOENT] File does not exist. [ELOOP] Too many symbolic links were encountered in translating either pathname. [EPERM] The caller is not the super-user. [ENOTBLK] Special is not a block device. [ENXIO] The major device number of special is out of range (this indicates no device driver exists for the associated hardware). [EROFS] File resides on a read-only file system. [EACCES] Search permission is denied for a component of either path prefix. [EACCES] File resides on a file system different from special. [EACCES] File is not a plain file. [EIO] An I/O error occurred while reading from or writing to the file containing the quotas. [EFAULT] Special or path points outside the process's allocated address space. BUGS
The error codes are in a state of disarray; too many errors appear to the caller as one value. 4.2 Berkeley Distribution August 26, 1985 SETQUOTA(2)
All times are GMT -4. The time now is 02:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy