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.

mmdelsnapshot Comm<strong>and</strong><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 delete the snapshot snap1, for the file system fs1, issue this comm<strong>and</strong>:<br />

mmdelsnapshot fs1 snap1<br />

The output is similar to this:<br />

Deleting snapshot files...<br />

Delete snapshot snap1 complete, err = 0<br />

Before issuing the comm<strong>and</strong>, the directory structure would appear similar to:<br />

/fs1/file1<br />

/fs1/userA/file2<br />

/fs1/userA/file3<br />

/fs1/.snapshots/snap1/file1<br />

/fs1/.snapshots/snap1/userA/file2<br />

/fs1/.snapshots/snap1/userA/file3<br />

After the comm<strong>and</strong> has been issued, the directory structure would appear similar to:<br />

/fs1/file1<br />

/fs1/userA/file2<br />

/fs1/userA/file3<br />

/fs1/.snapshots<br />

See also<br />

“mmcrsnapshot Comm<strong>and</strong>” on page 131<br />

“mmlssnapshot Comm<strong>and</strong>” on page 224<br />

“mmrestorefs Comm<strong>and</strong>” on page 249<br />

“mmsnapdir Comm<strong>and</strong>” on page 267<br />

Location<br />

/usr/lpp/mmfs/bin<br />

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