Previous  |  Next  >  
Product: File System Manual Pages for Storage Foundation   
Manual: Library Functions (3)   

fsckpt_setqlimit

NAME

fsckpt_getqlimit, fsckpt_setqlimit - set or get Storage Checkpoint quota limits

SYNOPSIS


#include <fsckpt.h>
int fsckpt_setqlimit(void *fshandle, vx_daddr_t hardlimit, vx_daddr_t softlimit, int flags)
int fsckpt_getqlimit(void *fshandle, vx_daddr_t *hardlimit, vx_daddr_t *softlimit, vx_daddr_t *curused, int flags)

AVAILABILITY

VRTSvxfs

DESCRIPTION

fsckpt_setqlimit() sets hard and soft quota limits. Action flags can also be set for quota violations. Specify hardlimit and softlimit in kilobytes.

fsckpt_getqlimit() returns hardlimit, softlimit, current usage, and any flags set using fsckpt_setqlimit()

FLAGS

CI_CLCREATION

No new Storage Checkpoint creation allowed when usage exceeds the soft limit.

CI_FAILOPR

Fail the operation instead of removing removable Storage Checkpoints. Existing Storage Checkpoints are preserved.

RETURN VALUES

fsckpt_setqlimit() and fsckpt_getqlimit() return zero on success, non-zero on failure.

ERRORS

EINVAL

The function is being used incorrectly, or the arguments to the function could not be validated.

EIO

An I/O error occurred on the device on which the file system or Storage Checkpoint is mounted.

ENOTSUP

The feature is unsupported for this disk layout version.

EPERM

The calling process does not have correct access privileges.

SEE ALSO

fsckptadm (1M), fsckpt_setquota (3)
 ^ Return to Top Previous  |  Next  >  
Product: File System Manual Pages for Storage Foundation  
Manual: Library Functions (3)  
VERITAS Software Corporation
www.veritas.com