1lsm_volume_child_dependencyL_idbeslteotrea(g3e)mgmt ClsAmP_IvoMlaunmuea_lchild_dependency_delete(3)
2
3
4
6 lsm_volume_child_dependency_delete - Delete all child dependencies of
7 the specified volume.
8
10 int lsm_volume_child_dependency_delete (lsm_connect *conn, lsm_volume
11 *volume, char **job, lsm_flag flags);
12
14 conn Valid connection.
15
16 volume Pointer of lsm_volume.
17
18 job Output pointer of string. If storage system support asyn‐
19 chronous action on this, a job will be created and could be
20 tracked via lsm_job_status_get. NULL if storage system does
21 not support asynchronous action on this.
22
23 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
24
26 1.0
27
29 Instruct storage system to remove all child dependencies of the speci‐
30 fied volume by duplicating the required storage before breaking repli‐
31 cation relationship.
32
34 LSM_CAP_VOLUME_CHILD_DEPENDENCY_RM
35
37 Error code as enumerated by 'lsm_error_number'.
38 * LSM_ERR_OK
39 On success.
40 * LSM_ERR_JOB_STARTED
41 A job is started. Please check the 'job' output pointer.
42 * LSM_ERR_INVALID_ARGUMENT
43 When any argument is NULL or not a valid lsm_connect pointer
44 or invalid flags or invalid lsm_volume pointer.
45 * LSM_ERR_NOT_FOUND_VOLUME
46 When volume not found.
47 * LSM_ERR_NO_STATE_CHANGE
48 When volume is not a replication source.
49 * LSM_ERR_NO_SUPPORT
50 Not supported.
51
52
53
54April 2023 lsm_volume_child_deplesnmd_evnoclyu_mdee_lcehtield_dependency_delete(3)