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.

-j scatter Block allocation type<br />

-D posix File locking semantics in effect<br />

-k posix ACL semantics in effect<br />

-a 1048576 Estimated average file size<br />

-n 32 Estimated number of nodes that will mount file system<br />

-B 262144 Block size<br />

-Q none Quotas enforced none<br />

none Default quotas enabled<br />

-F 34816 Maximum number of inodes<br />

-V 9.03 File system version. Highest supported version: 9.03<br />

-u yes Support for large LUNs?<br />

-z no Is DMAPI enabled?<br />

-d gpfs1nsd;gpfs2nsd;gpfs3nsd;gpfs4nsd Disks in file system<br />

-A no Automatic mount option<br />

-E no Exact mtime default mount option<br />

-S no Suppress atime default mount option<br />

-o none Additional mount options<br />

-T /fs1 Default mount point<br />

See the “mmlsfs Comm<strong>and</strong>” on page 209 for complete usage information. See the General Parallel File<br />

System: Concepts, Planning, <strong>and</strong> Installation Guide <strong>and</strong> search on <strong>GPFS</strong> architecture <strong>and</strong> file system<br />

creation considerations for a detailed discussion of file system attributes.<br />

Modifying file system attributes<br />

Use the mmchfs comm<strong>and</strong> to modify existing file system attributes.<br />

Note: All files created after issuing the mmchfs comm<strong>and</strong> take on the new attributes. Existing files are<br />

not affected. Use the mmchattr comm<strong>and</strong> to change the replication factor of existing files. See<br />

“Querying <strong>and</strong> changing file replication attributes.”<br />

For example, to change the default data replication factor to 2 for the file system fs1, enter:<br />

mmchfs fs1 -r 2<br />

To confirm the changes, enter:<br />

mmlsfs fs1 -r<br />

The system displays information similar to:<br />

flag value description<br />

---- -------------- -------------------------------------------------------<br />

-r 2 Default number of data replicas<br />

See the “mmchfs Comm<strong>and</strong>” on page 103 <strong>and</strong> the “mmlsfs Comm<strong>and</strong>” on page 209 for complete usage<br />

information. See the General Parallel File System: Concepts, Planning, <strong>and</strong> Installation Guide <strong>and</strong> search<br />

on <strong>GPFS</strong> architecture <strong>and</strong> file system creation considerations for a detailed discussion of file system<br />

attributes.<br />

Querying <strong>and</strong> changing file replication attributes<br />

If your availability requirements change, you can have <strong>GPFS</strong> display the current replication factors for one<br />

or more files by issuing the mmlsattr comm<strong>and</strong>. You might then decide to change replication for one or<br />

more files with the mmchattr comm<strong>and</strong>.<br />

Querying file replication<br />

Specify one or more file names with the mmlsattr comm<strong>and</strong>. For example, to display the replication<br />

factors for two files named project4.sched <strong>and</strong> project4.resource in the file system fs1, enter:<br />

mmlsattr /fs1/project4.sched /fs1/project4.resource<br />

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