Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Advanced Administration Oracle Solaris 10 8/11 Information Library |
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)
7. Managing UFS Quotas (Tasks)
Setting Soft Limits and Hard Limits for UFS Quotas
The Difference Between Disk Block and File Limits
Guidelines for Setting Up UFS Quotas
Setting Up UFS Quotas (Task Map)
How to Configure File Systems for UFS Quotas
How to Set Up UFS Quotas for a User
How to Set Up UFS Quotas for Multiple Users
How to Check UFS Quota Consistency
Maintaining UFS Quotas (Task Map)
Changing and Removing UFS Quotas
How to Change the Soft Limit Default
How to Change UFS Quotas for a User
How to Disable UFS 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)
After you have set up and turned on UFS disk quotas and inode quotas, you can check for users who exceed their quotas. In addition, you can check quota information for entire file systems.
The following table describes the commands that you use to check quotas.
Table 7-2 Commands for Checking UFS Quotas
|
You can display the UFS quotas and disk use for individual users on file systems on which quotas have been activated by using the quota command.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# quota [-v] username
Displays one or more users' quotas on all mounted file systems that have quotas.
Is the login name or UID of a user's account.
Example 7-6 Checking for Exceeded UFS Quotas
The following example shows that the user account identified by UID 301 has one 1–Kbyte quota but has not used any disk space.
# quota -v 301 Disk quotas for bob (uid 301): Filesystem usage quota limit timeleft files quota limit timeleft /export/home 0 1 2 0 2 3
Is the mount point for the file system.
Is the current block usage.
Is the soft-block limit.
Is the hard-block limit.
Is the amount of time, in days, left on the quota timer.
Is the current inode usage.
Is the soft-inode limit.
Is the hard-inode limit.
Is the amount of time, in days, left on the quota timer.
Display the UFS quotas and disk use for all users on one or more file systems by using the repquota command.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# repquota [-v] -a filesystem
Reports on UFS quotas for all users, even those users who do not consume resources.
Reports on all file systems.
Reports on the specified file system.
Example 7-7 Checking UFS Quotas on a File System
The following example shows output from the repquota command on a system that has quotas enabled on only one file system (/export/home).
# repquota -va /dev/dsk/c0t3d0s7 (/export/home): Block limits File limits User used soft hard timeleft used soft hard timeleft #301 -- 0 1 2.0 days 0 2 3 #341 -- 57 50 60 7.0 days 2 90 100
Definition
Is the current block usage.
Is the soft-block limit.
Is the hard-block limit.
Is the amount of time, in days, left on the quota timer.
Is the definition of the file limits.
Is the current inode usage.
Is the soft-inode limit.
Is the hard-inode limit.
Is the amount of time, in days, left on the quota timer.