Auto Increasing Quota for User.

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Auto Increasing Quota for User.
# 1  
Old 11-23-2012
Question Auto Increasing Quota for User.

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?
# 2  
Old 11-23-2012
Unix systems generally strive to be as inert as possible. In addition to assuming as little as possible, it helps ensure the system is operating exactly how you intended it to operate since it has required you to be specific about what you're wanting it to do and to tell it to do it at some point. There's also a large impulse to re-use software components so as to reduce bugs and to keep from forcing the user to re-learn too much.

So yes it's possible but it will never be a native feature of the quota system. Scheduled changes of any sort on a Unix system are expected to come in the form of a cronjob or an AT job. Personally it sounds like you're wanting the latter, so I would schedule an AT job where it issues whatever the desired setquota would be. If it's temporary you can just schedule a second one for several weeks out that issues another setquota that puts it back where it currently is now.

Last edited by thmnetwork; 11-23-2012 at 03:14 PM..
# 3  
Old 11-26-2012
Thanks Thmnetwork for your response, But in command line what I have mentiond regarding soft and hard limits while configuring at jobs in command line

from below output.

Disk quotas for user test (uid 500):
Filesystem blocks soft hard inodes soft hard
/dev/sda5 10068 400000 400000 2 0 0
# 4  
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question