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.

gpfs_igetstoragepool() Subroutine<br />

ERANGE The buffer is too small to return all attributes. Field *attrSizeP will be set to the size<br />

necessary.<br />

Examples<br />

This programming segment gets the storage pool name based on the given storage pool ID. The returned<br />

storage pool name is stored in StoragePoolNameBuffer which has the length of StoragePoolNameSize.<br />

gpfs_iscan_t *fsInodeScanP;<br />

gpfs_igetstoragepool(fsInodeScanP,StgpoolIdBuffer, &StgpoolNameBuffer,StgpoolNameSize);<br />

Location<br />

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

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