1lsm_volume_mask(3)        Libstoragemgmt C API Manual       lsm_volume_mask(3)
2
3
4

NAME

6       lsm_volume_mask - Grants access to a volume for the specified group
7

SYNOPSIS

9       int lsm_volume_mask (lsm_connect *conn, lsm_access_group *access_group,
10       lsm_volume *volume, lsm_flag flags);
11

ARGUMENTS

13       conn        Valid connection.
14
15       access_group
16                   Pointer of lsm_access_group.
17
18       volume      Pointer of lsm_volume.
19
20       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
21

VERSION

23       1.0
24

DESCRIPTION

26       Grants access to a volume for the specified group, also  known  as  LUN
27       masking or mapping.
28

CAPABILITY

30       LSM_CAP_VOLUME_MASK
31

RETURN

33       Error code as enumerated by 'lsm_error_number'.
34           * LSM_ERR_OK
35               On success.
36           * LSM_ERR_INVALID_ARGUMENT
37               When any argument is NULL or not a valid lsm_connect pointer
38               or invalid flags or invalid lsm_access_group pointer or
39               invalid lsm_volume.
40           * LSM_ERR_NOT_FOUND_ACCESS_GROUP
41               When access group not found.
42           * LSM_ERR_NOT_FOUND_VOLUME
43               When volume not found.
44           * LSM_ERR_NO_STATE_CHANGE
45               When specified volume is already masked to specified access
46               group.
47           * LSM_ERR_NO_SUPPORT
48               Not supported.
49
50
51
52May 2021                        lsm_volume_mask             lsm_volume_mask(3)
Impressum