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

NAME

6       lsm_volume_enable - Set a Volume to online
7

SYNOPSIS

9       int  lsm_volume_enable (lsm_connect *conn, lsm_volume *volume, lsm_flag
10       flags);
11

ARGUMENTS

13       conn        Valid lsm_connect pointer.
14
15       volume      The pointer of lsm_volume to be enabled.
16
17       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
18

VERSION

20       1.0
21

DESCRIPTION

23       Enable the specified volume when that volume is disabled by administra‐
24       tor or via lsm_volume_disable.
25

CAPABILITY

27       LSM_CAP_VOLUME_ENABLE
28

RETURN

30       Error code as enumerated by 'lsm_error_number'.
31           * LSM_ERR_OK
32               On success.
33           * LSM_ERR_INVALID_ARGUMENT
34               When any argument is NULL or not a valid lsm_connect pointer
35               or invalid flags.
36           * LSM_ERR_NOT_FOUND_VOLUME
37               When volume not found.
38           * LSM_ERR_POOL_NOT_READY
39               Pool is not ready.
40           * LSM_ERR_NO_SUPPORT
41               Not supported.
42
43
44
45May 2021                       lsm_volume_enable          lsm_volume_enable(3)
Impressum