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.

gpfs_quotaInfo_t Structure<br />

Name<br />

gpfs_quotaInfo_t – Contains buffer mapping for the gpfs_quotactl() subroutine.<br />

Library<br />

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

Structure<br />

typedef struct gpfs_quotaInfo<br />

{<br />

gpfs_off64_t blockUsage; /* current block count */<br />

gpfs_off64_t blockHardLimit; /* absolute limit on disk blks alloc */<br />

gpfs_off64_t blockSoftLimit; /* preferred limit on disk blks */<br />

gpfs_off64_t blockInDoubt; /* distributed shares + "lost" usage for blks */<br />

int inodeUsage; /* current # allocated inodes */<br />

int inodeHardLimit; /* absolute limit on allocated inodes */<br />

int inodeSoftLimit; /* preferred inode limit */<br />

int inodeInDoubt; /* distributed shares + "lost" usage for inodes */<br />

gpfs_uid_t quoId; /* uid, gid or fileset id<br />

int entryType; /* entry type, not used */<br />

unsigned int blockGraceTime; /* time limit for excessive disk use */<br />

unsigned int inodeGraceTime; /* time limit for excessive inode use */<br />

} gpfs_quotaInfo_t;<br />

Description<br />

The gpfs_quotaInfo_t structure contains detailed information for the gpfs_quotactl() subroutine.<br />

Members<br />

blockUsage Current block count in 1 KB units.<br />

blockHardLimit Absolute limit on disk block allocation.<br />

blockSoftLimit Preferred limit on disk block allocation.<br />

blockInDoubt Distributed shares <strong>and</strong> block usage that have not been not accounted for.<br />

inodeUsage Current number of allocated inodes.<br />

inodeHardLimit Absolute limit on allocated inodes.<br />

inodeSoftLimit Preferred inode limit.<br />

inodeInDoubt Distributed inode share <strong>and</strong> inode usage that have not been accounted<br />

for.<br />

quoId user ID, group ID, or fileset ID.<br />

entryType Not used<br />

blockGraceTime Time limit (in seconds since the Epoch) for excessive disk use.<br />

inodeGraceTime Time limit (in seconds since the Epoch) for excessive inode use.<br />

Epoch is midnight on January 1, 1970 UTC (Coordinated Universal Time).<br />

Location<br />

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

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