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.

mmdefedquota Comm<strong>and</strong><br />

Name<br />

mmdefedquota – Sets default quota limits to a file system.<br />

Synopsis<br />

mmdefedquota {-u | -g | -j} Device<br />

Description<br />

Use the mmdefedquota comm<strong>and</strong> to set or change default quota limits for new users, groups, <strong>and</strong> filesets<br />

for a file system. Default quota limits for a file system may be set or changed only if the file system was<br />

created with the -Q yes option on the mmcrfs comm<strong>and</strong> or changed with the mmchfs comm<strong>and</strong>.<br />

The mmdefedquota comm<strong>and</strong> displays the current values for these limits, if any, <strong>and</strong> prompts you to<br />

enter new values using your default editor:<br />

v Current block usage (display only)<br />

v Current inode usage (display only)<br />

v Inode soft limit<br />

v Inode hard limit<br />

v Block soft limit<br />

Displayed in KB, but may be specified using k, K, m, M, g, or G . If no suffix is provided, the number is<br />

assumed to be in bytes.<br />

v Block hard limit<br />

Displayed in KB, but may be specified using k, K, m, M, g, or G. If no suffix is provided, the number is<br />

assumed to be in bytes.<br />

Note: A block or inode limit of 0 indicates no limit.<br />

The mmdefedquota comm<strong>and</strong> waits for the edit window to be closed before checking <strong>and</strong> applying new<br />

values. If an incorrect entry is made, you must reissue the comm<strong>and</strong> <strong>and</strong> enter the correct values.<br />

When setting quota limits for a file system, replication within the file system should be considered. <strong>GPFS</strong><br />

quota management takes replication into account when reporting on <strong>and</strong> determining if quota limits have<br />

been exceeded for both block <strong>and</strong> file usage. In a file system that has either type of replication set to a<br />

value of two, the values reported on by both the mmlsquota comm<strong>and</strong> <strong>and</strong> the mmrepquota comm<strong>and</strong><br />

are double the value reported by the ls comm<strong>and</strong>.<br />

The EDITOR environment variable must contain a complete path name, for example:<br />

export EDITOR=/bin/vi<br />

Parameters<br />

Device<br />

Options<br />

The device name of the file system to have default quota values set for.<br />

File system names need not be fully-qualified. fs0 is just as acceptable as /dev/fs0.<br />

-g Specifies that the default quota value is to be applied for new groups accessing the specified file<br />

system.<br />

-j Specifies that the default quota value is to be applied for new filesets in the specified file system.<br />

Chapter 8. <strong>GPFS</strong> comm<strong>and</strong>s 139

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

Saved successfully!

Ooh no, something went wrong!