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.

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

Name<br />

mmcrfs – Creates a <strong>GPFS</strong> file system.<br />

Synopsis<br />

mmcrfs Mountpoint Device {″DiskDesc[;DiskDesc...]″ | -F DescFile} [-A {yes | no | automount}] [-D {nfs4<br />

| posix}] [-B BlockSize] [-E {yes | no}] [-k {posix | nfs4 | all}] [-m DefaultMetadataReplicas] [-M<br />

MaxMetadataReplicas] [-n NumNodes] [-N NumInodes] [-Q {yes | no}] [-r DefaultDataReplicas] [-R<br />

MaxDataReplicas] [-S {yes | no}] [-v {yes | no}] [-z {yes | no}]<br />

Description<br />

Use the mmcrfs comm<strong>and</strong> to create a <strong>GPFS</strong> file system. The first three options must be Mountpoint,<br />

Device, <strong>and</strong> either DiskDescList or DescFile <strong>and</strong> they must be in that order. The block size <strong>and</strong> replication<br />

factors chosen affect file system performance. There is a maximum of 32 file systems that may be<br />

mounted in a <strong>GPFS</strong> cluster at one time, including remote file systems.<br />

When deciding on the maximum number of files (number of inodes) in a file system, consider that for file<br />

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

the total number of inodes, there is the potential for slowdown in file system access. The total number of<br />

inodes can be increased using the mmchfs comm<strong>and</strong>.<br />

When deciding on a block size for a file system, consider these points:<br />

1. Supported block sizes are 16 KB, 64 KB 256 KB, 512 KB, <strong>and</strong> 1 MB.<br />

2. The <strong>GPFS</strong> block size determines:<br />

v The largest file system size supported. For the largest file system size supported by <strong>GPFS</strong> on each<br />

operating system, see the Frequently Asked Questions at publib.boulder.ibm.com/infocenter/<br />

clresctr/topic/com.ibm.cluster.gpfs.doc/gpfs_faqs/gpfsclustersfaq.html<br />

v The minimum preferred increment for either reading or writing file data. The minimum amount of<br />

space the data for a file can take is a subblock, which is 1/32 of the block size.<br />

3. From a performance perspective, you are advised to set the <strong>GPFS</strong> block size to match the application<br />

buffer size or the stripe size on the RAID system. If the <strong>GPFS</strong> block size does not match the RAID<br />

stripe size on the RAID system, performance may be severely degraded, especially for write<br />

operations.<br />

4. In file systems with a high degree of variance in the size of files within the file system, using a small<br />

block size would have a large impact on performance when accessing large files. In this kind of system<br />

it is suggested that you use a block size of 256 KB (8 KB subblock). Even if only 1% of the files are<br />

large, the amount of space taken by the large files usually dominates the amount of space used on<br />

disk, <strong>and</strong> the waste in the subblock used for small files is usually insignificant. For further performance<br />

information, see the <strong>GPFS</strong> white papers at www.ibm.com/servers/eserver/clusters/library/<br />

wp_aix_lit.html.<br />

Results<br />

Upon successful completion of the mmcrfs comm<strong>and</strong>, these tasks are completed on all <strong>GPFS</strong> nodes:<br />

v Mount point directory is created.<br />

v File system is formatted.<br />

Parameters<br />

Mountpoint<br />

The mount point directory of the <strong>GPFS</strong> file system.<br />

120 <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!