|
||||||||||
1. Managing Terminals and Modems (Overview) 2. Setting Up Terminals and Modems (Tasks) 3. Managing Serial Ports With the Service Access Facility (Tasks) 4. Managing System Resources (Overview) 5. Displaying and Changing System Information (Tasks) How to Configure File Systems for Quotas How to Set Up Quotas for a User How to Set Up Quotas for Multiple Users How to Check Quota Consistency How to Check for Exceeded Quotas How to Check Quotas on a File System How to Change the Soft Limit Default How to Change Quotas for a User 8. Scheduling System Tasks (Tasks) 9. Managing System Accounting (Tasks) 10. System Accounting (Reference) 11. Managing System Performance (Overview) 12. Managing System Processes (Tasks) 13. Monitoring System Performance (Tasks) 14. Troubleshooting Software Problems (Overview) 16. Managing Core Files (Tasks) 17. Managing System Crash Information (Tasks) 18. Troubleshooting Miscellaneous Software Problems (Tasks) 19. Troubleshooting File Access Problems (Tasks) 20. Resolving UFS File System Inconsistencies (Tasks) |
Changing and Removing QuotasYou can change quotas to adjust the amount of disk space or the number of inodes that users can consume. You can also remove quotas, for individual users or from entire file systems, as needed. The following table describes the commands that you use to change quotas or to remove quotas. Table 7-3 Commands for Changing Quotas and Removing Quotas
How to Change the Soft Limit DefaultBy default, users can exceed the soft time limits for their quotas for one week. So, after a week of repeated violations of the soft time limits of either disk space quotas or inode quotas, the system prevents users from using any more inodes or disk blocks. You can change the length of time that users can exceed their disk space quotas or inode quotas by using the edquota command.
The following example shows the contents of the temporary file opened by the edquota command on a system where /export/home is the only mounted file system with quotas. The default value, 0, means that the default time limit of one week is used. fs /export/home blocks time limit = 0 (default), files time limit = 0 (default) The following example shows the same temporary file after the time limit for exceeding the blocks quota has been changed to 2 weeks. Also, the time limit for exceeding the number of files has been changed to 16 days. fs /export/home blocks time limit = 2 weeks, files time limit = 16 days How to Change Quotas for a User
The following example shows the contents of the temporary file opened by the edquota command. This temporary file is opened on a system where /files is the only mounted file system containing a quotas file in the file system's root directory. fs /files blocks (soft = 0, hard = 0) inodes (soft = 0, hard = 0) The following output shows the same temporary file after quotas have been changed. fs /files blocks (soft = 0, hard = 500) inodes (soft = 0, hard = 100)Example 7-10 Verifying That Hard Quotas Have Been Changed The following example shows how to verify that the hard quotas for user smith have been changed to 500 1-Kbyte blocks, and 100 inodes. # quota -v smith Disk quotas for smith (uid 12): Filesystem usage quota limit timeleft files quota limit timeleft /files 1 0 500 1 0 100 How to Disable Quotas for a User
The following example shows the contents of the temporary file opened by the edquota command on a system where /files is the only mounted file system that contains a quotas file in the file system's root directory. fs /files blocks (soft = 50, hard = 60) inodes (soft = 90, hard = 100) The following example shows the same temporary file after quotas have been disabled. fs /files blocks (soft = 0, hard = 0) inodes (soft = 0, hard = 0) How to Turn Off Quotas
The following example shows how to turn off the quotas for the /export/home file system. # quotaoff -v /export/home /export/home: quotas turned off |
|||||||||
|