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.

-d ″DiskName[;DiskName...]″<br />

The name of the disks for which you want to display current configuration <strong>and</strong> state information.<br />

When you enter multiple values for DiskName, you must separate them with semicolons <strong>and</strong><br />

enclose the list in quotation marks.<br />

Options<br />

"gpfs3nsd;gpfs4nsd;gpfs5nsd"<br />

-e Display all of the disks in the file system that do not have an availability of up <strong>and</strong> a status of<br />

ready. If all disks in the file system are up <strong>and</strong> ready, the message displayed is:<br />

6027-623 All disks up <strong>and</strong> ready<br />

-L Displays an extended list of the disk parameters, including the disk ID field <strong>and</strong> the remarks field.<br />

The remarks column shows the current file system descriptor quorum assignments, <strong>and</strong> displays<br />

the excluded disks. The remarks field contains desc for all disks assigned as the file system<br />

descriptor holders <strong>and</strong> excl for all excluded disks.<br />

-M Displays whether I/O requests to the disk are satisfied on the local node, or using an NSD server.<br />

If the I/O is done using an NSD server, shows the NSD server name <strong>and</strong> the underlying disk name<br />

on that server node.<br />

-m Displays whether I/O requests to the disk are satisfied on the local node, or using an NSD server.<br />

This scope of this options is the node on which the mmlsdisk comm<strong>and</strong> is issued.<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 mmlsdisk 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 the 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 />

3. As root, the comm<strong>and</strong> can also do an mmlsdisk on remote file systems.<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 mmlsdisk comm<strong>and</strong> was issued.<br />

The mmlsdisk comm<strong>and</strong> does not work if <strong>GPFS</strong> is down.<br />

Examples<br />

1. To display the current state of gpfs2nsd, issue this comm<strong>and</strong>:<br />

mmlsdisk /dev/fs0 -d gpfs2nsd<br />

The system displays information similar to:<br />

mmlsdisk Comm<strong>and</strong><br />

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

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

Saved successfully!

Ooh no, something went wrong!