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.

mmdeldisk Comm<strong>and</strong><br />

-F DescFile<br />

A file that contains a list of disk descriptors, one per line representing disks, to be deleted.<br />

-N {Node[,Node...] | NodeFile | NodeClass }<br />

Specify the nodes that participate in the restripe of the file system after the specified disks have<br />

been removed. This comm<strong>and</strong> supports all defined node classes. The default is all (all nodes in<br />

the <strong>GPFS</strong> cluster will participate in the restripe of the file system).<br />

Options<br />

For general information on how to specify node names, see “Specifying nodes as input to <strong>GPFS</strong><br />

comm<strong>and</strong>s” on page 4.<br />

-a Specifies that the mmdeldisk comm<strong>and</strong> not wait for rebalancing to complete before returning.<br />

When this flag is specified, the mmdeldisk comm<strong>and</strong> runs asynchronously <strong>and</strong> returns after the<br />

file system descriptor is updated <strong>and</strong> the rebalancing scan is started, but it does not wait for<br />

rebalancing to finish. If no rebalancing is requested (-r option is not specified), this option has no<br />

effect.<br />

-c Specifies that processing continues even in the event that unreadable data exists on the disks<br />

being deleted. Data that has not been replicated is lost. Replicated data is not lost as long as the<br />

disks containing the replication are accessible.<br />

-r Rebalance all existing files in the file system to make more efficient use of the remaining disks.<br />

Exit status<br />

Note: Rebalancing of files is an I/O intensive <strong>and</strong> time consuming operation, <strong>and</strong> is important only<br />

for file systems with large files that are mostly invariant. In many cases, normal file update<br />

<strong>and</strong> creation will rebalance your file system over time, without the cost of the rebalancing.<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

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

You may issue the mmdeldisk 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 delete gpfs2nsd <strong>and</strong> gpfs3nsd from file system fs0 <strong>and</strong> rebalance the files across the remaining<br />

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

mmdeldisk fs0 "gpfs2nsd;gpfs3nsd" -r<br />

The system displays information similar to:<br />

Deleting disks ...<br />

Scanning ’system’ storage pool<br />

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