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.

mmdelsnapshot Comm<strong>and</strong><br />

Name<br />

mmdelsnapshot – Deletes a <strong>GPFS</strong> snapshot.<br />

Synopsis<br />

mmdelsnapshot Device Directory<br />

Description<br />

Use the mmdelsnapshot comm<strong>and</strong> to delete a <strong>GPFS</strong> snapshot.<br />

Once the mmdelsnapshot comm<strong>and</strong> has been issued, the snapshot is marked for deletion <strong>and</strong> cannot be<br />

recovered.<br />

If the node from which the mmdelsnapshot comm<strong>and</strong> is issued fails, you must reissue the comm<strong>and</strong> from<br />

another node in the cluster to complete the deletion. Prior to reissuing a subsequent mmdelsnapshot<br />

comm<strong>and</strong>, the file system may be recovered, mounted, <strong>and</strong> updates may continue to be made <strong>and</strong> the<br />

mmcrsnapshot comm<strong>and</strong> may be issued. However, the mmrestorefs <strong>and</strong> mmdelsnapshot comm<strong>and</strong>s<br />

may not be issued on other snapshots until the present snapshot is successfully deleted.<br />

If the mmdelsnapshot comm<strong>and</strong> is issued while a conflicting comm<strong>and</strong> is running, the mmdelsnapshot<br />

comm<strong>and</strong> waits for that comm<strong>and</strong> to complete. Conflicting operations include:<br />

1. Other snapshot comm<strong>and</strong>s on the same snapshot<br />

2. Adding, deleting, replacing disks in the file system<br />

3. Rebalancing, repairing, reducing disk fragmentation in a file system<br />

Any files open in the snapshot will be forcibly closed. The user will receive an errno of ESTALE on the<br />

next file access.<br />

Parameters<br />

Device<br />

The device name of the file system for which the snapshot is to be deleted. File system names<br />

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

This must be the first parameter.<br />

Directory<br />

The name of the snapshot to be deleted<br />

Options<br />

NONE<br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

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

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

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

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

Saved successfully!

Ooh no, something went wrong!