![]() |
![]() |
|
|
![]() |
![]() |
Performing System Management Tasks: HP 3000 MPE/iX Computer Systems > Chapter 9 Managing Disks![]() Controlling Disk Usage |
|
MPE/iX allows system managers to limit the amount of disk space a user may allocate. Disk space limitations can only be placed on MPE/iX accounts and groups. However, a limit placed on an account or group is also imposed on all hierarchical directories and files created at all levels beneath that account or group. Users may create files outside their logon account if granted the proper access to do so. Disk usage is still accumulated to the parent account or group, regardless of who creates the file. Users can use chown() in the MPE/iX shell or the :ALTFILE command to change the group ID of files they created outside their logon accounts to their logon account's group ID. This puts the file in the administrative domain of the user's account manager rather than in the domain of the account manager for the account in which the file is located. The disk space for the file accrues to the account in which it resides. Account managers may need to cooperate with each other or with the system administrator to manage disk space when files are being created across account boundaries.
The REPORT command does not show disk usage outside of the MPE account structure. In order to display disk usage for your entire system, include MPE accounts, groups and users and HFS directories, you need to use the DISKUSE command. To display disk usage information for the current working directory, enter:
You can also report the disk space used by a directory and all subtrees below it. To do so, enter the path followed by the TREE parameter. For example, to display disk usage for the PUB.SYS account (that is, all directories identified by the HFS specification PUB/SYS and all subdirectories below that), enter:
The DISKUSE command displays usage information in a columnar format. Each column contains information about the directory or directories you are reviewing.
To change the file space limit for a group or account, use the FILES= parameter with ALTGROUP or ALTACCT. For example, to change the file space limit of the group PUB in the account ORDERS to 1000 sectors, enter:
Use the BUILD command to create a file in a volume set. For example, to create the file FILE in the PUB group and add it to MPE_SYSTEM_VOLUME_SET, enter:
Or, to create the file FILE in the DATABASE account and add it to the PROD volume set, enter:
Use the DISCFREE utility to determine the amount of permanent space, transient space, and free space on your system. To use DISCFREE, enter:
The DISCFREE utility:
Transient storage is spread throughout the volume, and expands and contracts up to the limits configured. To optimize disk utilization, space required on a volume set is allocated on the volume with the highest percentage of free space. System volumes should be configured with some of each type of storage. The default of 75 percent for permanent and 75 percent for transient is a recommended allocation, unless you have special needs. If the system master PERMANENT parameter is set at 100 percent, DISCFREE shows this allocation. However, only 75 percent of the space can be allocated as permanent space on the system master volume to ensure that the system will boot. For more information about DISCFREE, refer to the MPE/iX Utilities Manual (32650-90081). When jobs are aborted because of insufficient disk space, there are steps you can take to clear disk space. Some of your options include:
Use LISTFILE to see how large certain files are and when they were last accessed. For example, to see how much space the file FILE1.TECH.MGR takes, enter:
Use the ALTACCT and ALTGROUP commands with the FILES= parameter to decrease limits in accounts and groups, respectively. For example, to decrease the file space in the group TECH to 10,000 sectors and the account manager to 100,000 sectors, enter:
System event logs are stored in permanent files on the system volume set, so decreasing the number of events logged affects system disks only. HFS directories under MPE groups can be located on nonsystem volume sets. HFS directories under the root must reside on the system volume. High-availability products, such as Mirrored Disk, Autorestart, and SPU Switchover, are restricted to nonsystem volume sets; therefore, they cannot support HFS directories under the root. These products only support HFS directories as descendants of MPE groups. |
![]() |
||
![]() |
![]() |
![]() |
|||||||||
|