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.

gpfsRestripeData_t Structure<br />

Name<br />

gpfsRestripeData_t – Restripes a file’s data blocks.<br />

Library<br />

<strong>GPFS</strong> Library (libgpfs.a for AIX, libgpfs.so for Linux)<br />

Structure<br />

typedef struct {<br />

int structLen;<br />

int structType;<br />

int options;<br />

int reserved;<br />

} gpfsRestripeData_t<br />

Description<br />

The gpfsRestripeData_t structure is used to restripe a file’s data blocks to updates its replication <strong>and</strong><br />

migrate its data. The data movement is always done immediately.<br />

Members<br />

structLen Length of the gpfsRestripeData_t structure.<br />

structType Structure identifier <strong>GPFS</strong>_FCNTL_RESTRIPE_DATA.<br />

options Options for restripe comm<strong>and</strong>. See mmrestripefs comm<strong>and</strong> for complete definitions.<br />

<strong>GPFS</strong>_FCNTL_RESTRIPE_M Migrate critical data off of suspended disks.<br />

<strong>GPFS</strong>_FCNTL_RESTRIPE_R Replicate data against subsequent failure.<br />

<strong>GPFS</strong>_FCNTL_RESTRIPE_P Place file data in assigned storage pool.<br />

<strong>GPFS</strong>_FCNTL_RESTRIPE_B Rebalance file data.<br />

reserved Must be set to 0.<br />

Location<br />

/usr/lpp/mmfs/lib/libgpfs.a for AIX, /usr/lpp/mmfs/lib/libgpfs.so for Linux<br />

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