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.

mmdf Comm<strong>and</strong><br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

If you are a root user:<br />

1. You may issue the mmdf comm<strong>and</strong> from any node in the <strong>GPFS</strong> cluster.<br />

2. When using the rcp <strong>and</strong> rsh comm<strong>and</strong>s for remote communication, a properly configured .rhosts file<br />

must exist in the root user’s home directory on each node in the <strong>GPFS</strong> cluster. If you have designated<br />

the use of a different remote communication program on either the mmcrcluster or mmchcluster<br />

comm<strong>and</strong>, you must ensure:<br />

a. Proper authorization is granted to all nodes in the <strong>GPFS</strong> cluster.<br />

b. The nodes in the <strong>GPFS</strong> cluster can communicate without the use of a password, <strong>and</strong> without any<br />

extraneous messages.<br />

If you are a non-root user, you may specify only file systems that belong to the same cluster as the node<br />

on which the mmdf comm<strong>and</strong> was issued.<br />

Examples<br />

1. To query all disks in the fs2 file system that can hold data, issue this comm<strong>and</strong>:<br />

mmdf fs2 -d<br />

The system displays information similar to:<br />

disk disk size failure holds holds free KB in free KB in<br />

name in KB group metadata data full blocks fragments<br />

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

Disks in storage pool: system<br />

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

(pool total) 0 0 (0%) 0 (0%)<br />

Disks in storage pool: sp1<br />

gpfs1002nsd 8897968 1 no yes 8342016 (94%) 928 (0%)<br />

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

(pool total) 8897968 8342016 (94%) 928 (0%)<br />

========= ============== ============<br />

(data) 8897968 8342016 (94%) 928 (0%)<br />

(metadata) 0 0 (0%) 0 (0%)<br />

========= ============= ============<br />

(total) 8897968 8342016 (94%) 928 (0%)<br />

2. To query all disks in the fs2 file system that can hold metadata, issue this comm<strong>and</strong>:<br />

mmdf fs2 -m<br />

The system displays information similar to:<br />

disk disk size failure holds holds free KB in free KB in<br />

name in KB group metadata data full blocks fragments<br />

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

Disks in storage pool: system<br />

gpfs1001nsd 8897968 4001 yes no 8738816 (98%) 1520 (0%)<br />

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

(pool total) 8897968 8738816 (98%) 1520 (0%)<br />

Disks in storage pool: sp1<br />

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

(pool total) 0 0 (0%) 0 (0%)<br />

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