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.

mmlssnapshot Comm<strong>and</strong><br />

Name<br />

mmlssnapshot – Displays <strong>GPFS</strong> snapshot information for the specified file system.<br />

Synopsis<br />

mmlssnapshot Device [-d] [-Q]<br />

Description<br />

Use the mmlssnapshot comm<strong>and</strong> to display <strong>GPFS</strong> snapshot information for the specified file system. You<br />

may optionally display the amount of storage used by the snapshot <strong>and</strong> if quotas were set for automatic<br />

activation upon mounting of the file system at the time the snapshot was taken.<br />

Parameters<br />

Device The device name of the file system for which snapshot information is to be displayed. File<br />

system names need not be fully-qualified. fs0 is just as acceptable as /dev/fs0.<br />

Options<br />

This must be the first parameter.<br />

-d Display the amount of storage used by the snapshot.<br />

-Q Display whether quotas were set to be automatically activated upon mounting of the file system at the<br />

time the snapshot was taken.<br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

You must have root authority to run the mmlssnapshot comm<strong>and</strong>.<br />

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

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

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

of a different remote communication program on either the mmcrcluster or the mmchcluster comm<strong>and</strong>,<br />

you must ensure:<br />

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

2. 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 />

Examples<br />

To display the snapshot information for the file system fs1 additionally requesting storage information,<br />

issue this comm<strong>and</strong>:<br />

mmlssnapshot fs1 -d<br />

The system displays information similar to:<br />

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