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.

dataAndMetadata<br />

Indicates that the disk contains both data <strong>and</strong> metadata. This is the default.<br />

dataOnly<br />

Indicates that the disk contains data <strong>and</strong> does not contain metadata.<br />

metadataOnly<br />

Indicates that the disk contains metadata <strong>and</strong> does not contain data.<br />

descOnly<br />

Indicates that the disk contains no data <strong>and</strong> no file metadata. Such a disk is used<br />

solely to keep a copy of the file system descriptor, <strong>and</strong> can be used as a third<br />

failure group in certain disaster recovery configurations. For more information, see<br />

General Parallel File System: Advanced <strong>Administration</strong> <strong>and</strong> search on<br />

Synchronous mirroring utilizing <strong>GPFS</strong> replication.<br />

FailureGroup<br />

A number identifying the failure group to which this disk belongs. You can specify any<br />

value from -1 (where -1 indicates that the disk has no point of failure in common with any<br />

other disk) to 4000. If you do not specify a failure group, the value defaults to the NSD<br />

primary server node number plus 4000. If an NSD server node is not specified, the value<br />

defaults to -1. <strong>GPFS</strong> uses this information during data <strong>and</strong> metadata placement to assure<br />

that no two replicas of the same block are written in such a way as to become unavailable<br />

due to a single failure. All disks that are attached to the same NSD server or adapter<br />

should be placed in the same failure group.<br />

If replication of -m or -r is set to 2 for the file system, storage pools must have two failure<br />

groups for the comm<strong>and</strong>s to work properly.<br />

StoragePool<br />

Specifies the storage pool to which the disk is to be assigned. If this name is not provided,<br />

the default is system.<br />

Only the system pool may contain metadataOnly, dataAndMetadata, or descOnly disks.<br />

-F DescFile<br />

Specifies a file containing a list of disk descriptors, one per line. You may use the rewritten<br />

DiskDesc file created by the mmcrnsd comm<strong>and</strong> or create your own file. When using the<br />

DiskDesc file created by the mmcrnsd comm<strong>and</strong>, the values supplied on input to the comm<strong>and</strong><br />

for Disk Usage <strong>and</strong> FailureGroup are used. When creating your own file, you must specify these<br />

values or accept the system defaults. A sample file can be found in /usr/lpp/mmfs/samples/<br />

diskdesc.<br />

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

Specifies the nodes that are to participate in the restripe of the file system after the specified disks<br />

have been made available for use by <strong>GPFS</strong>. This parameter can be used only in conjunction with<br />

the -r option. This comm<strong>and</strong> supports all defined node classes. The default is all (all nodes in the<br />

<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 asynchronous processing. If this flag is specified, the mmadddisk comm<strong>and</strong> returns<br />

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

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

effect.<br />

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

mmadddisk Comm<strong>and</strong><br />

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

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

Saved successfully!

Ooh no, something went wrong!