int lsm_volume_mask (lsm_connect *conn, lsm_access_group *access_group, lsm_volume *volume, lsm_flag flags);
Pointer of lsm_access_group.
Pointer of lsm_volume.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
Grants access to a volume for the specified group, also known as LUN masking or mapping.
Error code as enumerated by 'lsm_error_number'.
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags or invalid lsm_access_group pointer or
When access group not found.
When volume not found.
When specified volume is already masked to specified access