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.

mmumount fs1<br />

Unmounting a file system on multiple nodes<br />

To unmount file system fs1 on all nodes in the <strong>GPFS</strong> cluster, issue this comm<strong>and</strong>:<br />

mmumount fs1 -a<br />

To unmount a file system only on a specific set of nodes, use the -N flag of the mmumount comm<strong>and</strong>.<br />

Note: When using <strong>GPFS</strong> file systems, you are not required to use the <strong>GPFS</strong> mmmount or mmumount<br />

comm<strong>and</strong>s. The operating system mount <strong>and</strong> umount (or unmount) comm<strong>and</strong>s also work.<br />

Deleting a file system<br />

Before deleting a file system, unmount it on all nodes. See “Unmounting a file system” on page 14.<br />

Specify the file system to be deleted on the mmdelfs comm<strong>and</strong>. For example, to delete the file system<br />

fs1, enter:<br />

mmdelfs fs1<br />

The system displays information similar to:<br />

mmdelfs: 6027-1366 Marking the disks as available<br />

<strong>GPFS</strong>: 6027-573 All data on following disks of fs1 will be destroyed:<br />

gpfs9nsd<br />

gpfs13nsd<br />

gpfs11nsd<br />

gpfs12nsd<br />

<strong>GPFS</strong>: 6027-574 Completed deletion of file system fs1.<br />

mmdelfs: 6027-1371 Propagating the changes to all affected nodes.<br />

This is an asynchronous process.<br />

See the “mmdelfs Comm<strong>and</strong>” on page 157 for complete usage information. See the mmdelnsd comm<strong>and</strong><br />

for removing the NSD definitions after deleting the file system.<br />

Determining which nodes have a file system mounted<br />

The mmlsmount comm<strong>and</strong> is used to determine which nodes have a given file system mounted. The<br />

name <strong>and</strong> IP address of each node that has the file system mounted is displayed. This comm<strong>and</strong> can be<br />

used for all file systems, all remotely mounted file systems, or file systems mounted on nodes of certain<br />

clusters.<br />

Note that the mmlsmount comm<strong>and</strong> reports file systems that are in use at the time the comm<strong>and</strong> is<br />

issued. A file system is considered to be in use if it is explicitly mounted with the mount or mmmount<br />

comm<strong>and</strong> or if it is mounted internally for the purposes of running some other <strong>GPFS</strong> comm<strong>and</strong>. For<br />

example, when you run the mmrestripefs comm<strong>and</strong>, the file system will be internally mounted for the<br />

duration of the comm<strong>and</strong>. If mmlsmount is issued in the interim, the file system will be reported as being<br />

in use by the mmlsmount comm<strong>and</strong> but, unless it is explicitly mounted, will not show up in the output of<br />

the mount or df comm<strong>and</strong>s.<br />

This is an example of a mmlsmount -L comm<strong>and</strong> for a locally mounted file system named fs1:<br />

File system fs1 is mounted on 3 nodes:<br />

199.14.58.79 k164n05 cluster1.kgn.ibm.com<br />

199.14.68.69 k164n04 cluster1.kgn.ibm.com<br />

199.14.102.58 k5n57 cluster2.kgn.ibm.com<br />

Chapter 3. Managing file systems 15

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

Saved successfully!

Ooh no, something went wrong!