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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-n NumNodes<br />

The estimated number of nodes that will mount the file system. This is used as a best guess for<br />

the initial size of some file system data structures. The default is 32. This value cannot be<br />

changed after the file system has been created.<br />

When you create a <strong>GPFS</strong> file system, you might want to overestimate the number of nodes that<br />

will mount the file system. <strong>GPFS</strong> uses this information for creating data structures that are<br />

essential for achieving maximum parallelism in file system operations (see Appendix A: <strong>GPFS</strong><br />

architecture in General Parallel File System: Concepts, Planning, <strong>and</strong> Installation Guide). Although<br />

a large estimate consumes additional memory, underestimating the data structure allocation can<br />

reduce the efficiency of a node when it processes some parallel requests such as the allotment of<br />

disk space to a file. If you cannot predict the number of nodes that will mount the file system,<br />

allow the default value to be applied. If you are planning to add nodes to your system, you should<br />

specify a number larger than the default. However, do not make estimates that are not realistic.<br />

Specifying an excessive number of nodes may have an adverse affect on buffer operations.<br />

-N NumInodes<br />

The maximum number of files in the file system. This value defaults to the size of the file system<br />

at creation, divided by 1M, <strong>and</strong> can be specified with a suffix, for example 8K or 2M. This value is<br />

also constrained by the formula:<br />

maximum number of files = (total file system space/2) / (inode size + subblock size)<br />

For file systems that will be doing parallel file creates, if the total number of free inodes is not<br />

greater than 5% of the total number of inodes there is the potential for slowdown in file system<br />

access. Take this into consideration when changing your file system.<br />

-Q {yes | no}<br />

Activates quotas automatically when the file system is mounted. The default is -Q no.<br />

To activate <strong>GPFS</strong> quota management after the file system has been created:<br />

1. Mount the file system.<br />

2. To establish default quotas:<br />

a. Issue the mmdefedquota comm<strong>and</strong> to establish default quota values.<br />

b. Issue the mmdefquotaon comm<strong>and</strong> to activate default quotas.<br />

3. To activate explicit quotas:<br />

a. Issue the mmedquota comm<strong>and</strong> to activate quota values.<br />

mmcrfs Comm<strong>and</strong><br />

b. Issue the mmquotaon comm<strong>and</strong> to activate quota enforcement.<br />

-r DefaultDataReplicas<br />

Default number of copies of each data block for a file. Valid values are 1 <strong>and</strong> 2, but cannot be<br />

greater than MaxDataReplicas. The default is 1.<br />

-R MaxDataReplicas<br />

Default maximum number of copies of data blocks for a file. Valid values are 1 <strong>and</strong> 2 but cannot<br />

be less than DefaultDataReplicas. The default is 1.<br />

-S {yes | no}<br />

Suppress the periodic updating of the value of atime as reported by the gpfs_stat(), gpfs_fstat(),<br />

stat(), <strong>and</strong> fstat() calls. The default value is -S no. Specifying -S yes for a new file system results<br />

in reporting the time the file system was created.<br />

-v {yes | no}<br />

Verify that specified disks do not belong to an existing file system. The default is -v yes. Specify -v<br />

no only when you want to reuse disks that are no longer needed for an existing file system. If the<br />

comm<strong>and</strong> is interrupted for any reason, you must use the -v no option on the next invocation of<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!