Sponsored Content
Full Discussion: To set quota on a folder
Operating Systems Linux Red Hat To set quota on a folder Post 302392327 by royalliege on Thursday 4th of February 2010 04:58:26 AM
Old 02-04-2010
quota may be used to set user or group limit...

Implementing Disk Quotas

The answer is given by the following post.

Last edited by royalliege; 02-05-2010 at 03:24 PM.. Reason: useless info - not related to problem
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Quota

I'm new to Unix and I'm trying to determin how much space I have on this system. the box is dedicated to Oracle and I log in as the oracle user and type quota. It retrunes nothing. Then I log on as root and type quota -v oracle.. It returns nothing! Gosh this is actually a solaris 5.7 box. ... (1 Reply)
Discussion started by: jarthda
1 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. Solaris

Set quota on directories

Hi all, Is it possible to set a quota on subfolders? I understand it can be set on file system level, how bout on individual folders? Thanks. (1 Reply)
Discussion started by: *Jess*
1 Replies

4. UNIX for Dummies Questions & Answers

Quota Problem

Hi all! I'm a user of Debian Etch. I've problem with my accoun't quota. After I removed all of my files from my home directory, and typed: du -hs It showed me: 76K . But when I used quota command, it showed me: Disk quotas for user X (uid *********): Filesystem blocks quota ... (2 Replies)
Discussion started by: mjdousti
2 Replies

5. UNIX for Advanced & Expert Users

Quota threshold

Hi, I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold. I have made a script for it but I am facing an error while executing it. Could any one here guide me further?? Script #!/bin/sh warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies

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

7. UNIX for Advanced & Expert Users

Set ACL automatically for new folder/objects

Hi, In our bank production environment - IBM AIX 5.3, we have a particular parent folder inside which an application creates temporary folders & files. These temp folders exist for the lifetime of the user session within the application and then get deleted automatically. Since these temp... (1 Reply)
Discussion started by: deepaksinbox
1 Replies

8. Shell Programming and Scripting

want to move set of file from one folder to another folder

Hi all, let me explain my requirments i am having 5 folder with different name for eg) abc , cdf , efd, rtg, ead each 5 folders contain 15 files i want to move 10 files to some other folder, remain 5 files should be there in the same folder. give me some suggestion on this. (6 Replies)
Discussion started by: natraj005
6 Replies

9. Red Hat

Setting quota

I would like to set quota for ALL USERS on a particular filesystem and the quota to be set for NEWLY CREATED USERS also. I am not sure, whether my question is clear. I can set quota for all users but my requirement is, I want the same quota to be set automatically for the user which is going... (2 Replies)
Discussion started by: atanubanerji
2 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
edquota(1M)															       edquota(1M)

NAME
edquota - edit disk quotas SYNOPSIS
proto_name] name... DESCRIPTION
The command is the quota editor. One or more name of either users or groups can be specified on the command line. For each name, a tempo- rary file is created with a textual representation of the current disk quotas for that user or group, and an editor is invoked on the file. The quotas can then be modified, new quotas added, and so on. Upon leaving the editor, reads the temporary file and modifies the binary quota files to reflect the changes made. The editor invoked is specified by the environment variable. It defaults to (see vi(1)). In order for user quotas to be established on a file system, the root directory of the file system must contain a file named Similarly, for group quotas, the file must exist on the root directory of the file system. See quota(5) for details. Quotas can be established for all the users or groups on file systems created with largefiles enabled. However, on HFS file systems and file systems on which largefiles is not enabled, quotas cannot be created for user ids greater than 67,000,000. Quotas cannot be estab- lished for groups on HFS file systems. Refer to usergroupname(5) to understand the functionality changes with the Numeric User Group Name feature. Only users who have appropriate privileges can edit quotas. Options Edits the quotas of one or more groups, specified by name(s). Duplicates the quotas of the group (when used with the option) or user proto_name for each group or user, name. This is the normal mechanism used to initialize quotas for groups of users. Edit the time limits for each file system. Time limits are set for file systems, not users. When a user exceeds the soft limit for blocks or inodes on a file system, a countdown timer is started and the user has an amount of time equal to the time limit in which to reduce usage to below the soft limit (the required action is given by the command). If the time limit expires before corrective action is taken, the quota system enforces policy as if the hard limit had been exceeded. The default time limit of 0 is interpreted to mean the value in or one week (7 days). Time units of sec(onds), min(utes), hour(s), day(s), week(s), and month(s) are under- stood. Time limits are printed in the greatest possible time unit such that the value is greater than or equal to one. Edits the quotas of one or more users (the default), specified by name(s). Temporary File Formats Here is an example of the temporary file created for editing user block and inode quotas: Here is the format for editing quota time limits: When editing values, it is not necessary to remove the string. For example, to change the for changing the to is sufficient. WARNINGS
When establishing quotas for a user who has had none before, (for either blocks or inodes), the quota statistics for that user do not include any currently occupied file system resources. Therefore, it is necessary to run (see quotacheck(1M)) to collect statistics for that user's current usage of that file system. See quota(5) for a detailed discussion of this topic. will only edit quotas on local file systems. AUTHOR
was developed by the University of California, Berkeley, and by Sun Microsystems, Inc. FILES
Static information about the file systems. Mounted file system table Group and user quota statistics static storage for a file system respectively, where directory is the root of the file system as specified to the command (see mount(1M)). SEE ALSO
quota(1), vi(1), quotacheck(1M), quotacheck_hfs(1M), quota(5), usergroupname(5). edquota(1M)
All times are GMT -4. The time now is 12:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy