29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To disable quota management:<br />

1. Issue the mmchfs comm<strong>and</strong> with the -Q no option specified.<br />

2. Unmount the file system everywhere.<br />

3. Remount the file system deactivating the quota files. All subsequent mounts obey the new quota<br />

setting.<br />

Note: If you do not unmount the file system everywhere, you will create conflicting quota usage where<br />

existing mounts follow the old quota values <strong>and</strong> new mounts follow the new quota values.<br />

See the “mmcheckquota Comm<strong>and</strong>” on page 98, the “mmchfs Comm<strong>and</strong>” on page 103, the “mmcrfs<br />

Comm<strong>and</strong>” on page 120, <strong>and</strong> the “mmedquota Comm<strong>and</strong>” on page 171 for complete usage information.<br />

For additional information on quotas, see the General Parallel File System: Concepts, Planning, <strong>and</strong><br />

Installation Guide.<br />

Default quotas<br />

Applying default quotas provides for minimum quota limits for all new users, groups of users, or filesets for<br />

a file system. If default quota values for a file system are not enabled, a new user, group of users or fileset<br />

for that file system has a quota limit of zero, which establishes no limit to the amount of space that they<br />

can use.<br />

To enable default quota values for a file system:<br />

1. The file system must have been created or changed with the -Q yes option. See the mmcrfs <strong>and</strong><br />

mmchfs comm<strong>and</strong>s.<br />

2. Default quotas are enabled with the mmdefquotaon comm<strong>and</strong>.<br />

3. Default quota values are established for new users, groups, <strong>and</strong> filesets for a file system, by issuing<br />

the mmdefedquota comm<strong>and</strong>.<br />

To apply different quota values for a particular user, group, or fileset, the system administrator must<br />

explicitly configure those values using the mmedquota comm<strong>and</strong>. If after explicit quotas for a user, group,<br />

or filesets have been established, it is necessary to reapply the default limits for that user, group, or fileset,<br />

you must issue the mmedquota -d comm<strong>and</strong>.<br />

The default quotas can be deactivated by issuing the mmdefquotaoff comm<strong>and</strong>.<br />

For example, to create default quotas for users of the file system fs0, enter:<br />

mmdefedquota -u fs0<br />

A prompt in your default editor appears:<br />

*** Edit quota limits for USR DEFAULT entry<br />

NOTE: block limits will be rounded up to the next multiple of the block size.<br />

block units may be: K, M, or G.<br />

fs1: blocks in use: 0K, limits (soft = 0K, hard = 0K)<br />

inodes in use: 0, limits (soft = 0, hard = 0)<br />

See the “mmdefedquota Comm<strong>and</strong>” on page 139, “mmdefquotaoff Comm<strong>and</strong>” on page 141,<br />

“mmdefquotaon Comm<strong>and</strong>” on page 143, <strong>and</strong> “mmedquota Comm<strong>and</strong>” on page 171 comm<strong>and</strong>s for<br />

complete usage information.<br />

Explicitly establishing <strong>and</strong> changing quotas<br />

Use the mmedquota comm<strong>and</strong> to explicitly establish or change file system quota limits for users, groups<br />

of users, or filesets. When setting quota limits for a file system, replication within the file system should be<br />

considered. <strong>GPFS</strong> quota management takes replication into account when reporting on <strong>and</strong> determining if<br />

quota limits have been exceeded for both block <strong>and</strong> file usage. In a file system that has either type of<br />

38 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!