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.

mmlsattr Comm<strong>and</strong><br />

Name<br />

mmlsattr – Queries file attributes.<br />

Synopsis<br />

mmlsattr [-L] FileName [FileName...]<br />

Description<br />

Use the mmlsattr comm<strong>and</strong> to display attributes of a file.<br />

Results<br />

For the specified file, the mmlsattr comm<strong>and</strong> lists:<br />

v Current number of copies of data for a file <strong>and</strong> the maximum value<br />

v Number of copies of the metadata for a file <strong>and</strong> the maximum value<br />

v Whether the Direct I/O caching policy is in effect for a file<br />

Parameters<br />

FileName<br />

The name of the file to be queried. You must enter at least one file name.<br />

Options<br />

-L Displays additional file attributes:<br />

Exit status<br />

v The file’s assigned storage pool name.<br />

v The name of the fileset that includes the file.<br />

v The name of the snapshot that includes the file.<br />

If the file is not part of a snapshot, an empty string is displayed.<br />

v Whether the file is illplaced. This word would appear under flags.<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

You must have read access to run the mmlsattr comm<strong>and</strong>.<br />

You may issue the mmlsattr comm<strong>and</strong> only from a node in the <strong>GPFS</strong> cluster where the file system is<br />

mounted.<br />

Examples<br />

1. To list the attributes of a file named project4.sched, issue this comm<strong>and</strong>:<br />

mmlsattr -L /fs0/project4.sched<br />

The system displays information similar to:<br />

file name: /fs0/project4.sched<br />

metadata replication: 1 max 2<br />

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