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.

mmadddisk Comm<strong>and</strong><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 />

-v {yes | no}<br />

Verify that specified disks do not belong to an existing file system. The default is -v yes. Specify -v<br />

no only when you want to reuse disks that are no longer needed for an existing file system. If the<br />

comm<strong>and</strong> is interrupted for any reason, you must use the -v no option on the next invocation of<br />

the comm<strong>and</strong>.<br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

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

You may issue the mmadddisk 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 the mmcrcluster or the mmchcluster comm<strong>and</strong>, you<br />

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 add the disks whose descriptors are located in ./disk_pools to the file system fs1 <strong>and</strong> rebalance the<br />

existing files after it is added, issue this comm<strong>and</strong>:<br />

mmadddisk fs1 -F ./disk_pools -r<br />

The system displays information similar to:<br />

<strong>GPFS</strong>: 6027-531 The following disks of fs1 will be formatted on node<br />

k148n07.kgn.ibm.com:<br />

gpfs10nsd: size 2202180 KB<br />

Extending Allocation Map<br />

Creating Allocation Map for storage pool ’pool2’<br />

75 % complete on Thu Feb 16 13:57:52 2006<br />

100 % complete on Thu Feb 16 13:57:54 2006<br />

Flushing Allocation Map for storage pool ’pool2’<br />

<strong>GPFS</strong>: 6027-535 Disks up to size 24 GB can be added to storage<br />

pool pool2.<br />

Checking allocation map for storage pool system<br />

62 % complete on Thu Feb 16 13:58:03 2006<br />

100 % complete on Thu Feb 16 13:58:06 2006<br />

Checking allocation map for storage pool pool1<br />

62 % complete on Thu Feb 16 13:58:11 2006<br />

100 % complete on Thu Feb 16 13:58:14 2006<br />

Checking allocation map for storage pool pool2<br />

63 % complete on Thu Feb 16 13:58:19 2006<br />

100 % complete on Thu Feb 16 13:58:22 2006<br />

<strong>GPFS</strong>: 6027-1503 Completed adding disks to file system fs1.<br />

mmadddisk: 6027-1371 Propagating the cluster configuration<br />

data to all affected nodes. This is an asynchronous process.<br />

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