lsm_volumes_accessible_by_access_group - Man Page

Query volumes that the specified access group has access to.

Synopsis

int lsm_volumes_accessible_by_access_group (lsm_connect *conn, lsm_access_group *group, lsm_volume **volumes[], uint32_t *count, lsm_flag flags);

Arguments

conn

Valid connection.

group

Pointer of lsm_access_group.

volumes[]

Output pointer of lsm_volume array. Returned value must be freed with a call to lsm_volume_record_array_free.

count

uint32_t. Number of volumes.

flags

Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

Version

1.0

Description

Return a list of volumes which is accessible by specified access group.

Capability

LSM_CAP_VOLUMES_ACCESSIBLE_BY_ACCESS_GROUP

Return

Error code as enumerated by 'lsm_error_number'.
   * LSM_ERR_OK
       On success.
   * LSM_ERR_INVALID_ARGUMENT
       When any argument is NULL or not a valid lsm_connect pointer
       or invalid flags or invalid lsm_access_group pointer.
   * LSM_ERR_NOT_FOUND_ACCESS_GROUP
       When access group not found.
   * LSM_ERR_NO_SUPPORT
       Not supported.

Info

July 2024 Libstoragemgmt C API Manual