lsm_fs_resize man page
lsm_fs_resize — Resizes a file system
int lsm_fs_resize (lsm_connect *conn, lsm_fs *fs, uint64_t new_size_bytes, lsm_fs **rfs, char **job_id, lsm_flag flags);
Pointer of lsm_fs to re-size
uint64_t. New size of file system in bytes, actual size might be bigger than requested and will be based on array rounding to block size,
Output pointer of updated lsm_fs. Might be NULL if storage system support asynchronous action on this.
Output pointer of string. If storage system support asynchronous action on this, a job will be created and could be tracked via lsm_job_status_fs_get. NULL if storage system does not support asynchronous action on this.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
Resize the specified file system.
Error code as enumerated by 'lsm_error_number'.
A job is started. Please check the 'job' output pointer.
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags.
When file system not found.
Pool does not have enough space.
Pool is not ready for volume resizing.
Requested size if identical to current size.