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

NAME

6       lsm_fs_ss_delete - Deletes a snapshot
7

SYNOPSIS

9       int  lsm_fs_ss_delete  (lsm_connect  *conn,  lsm_fs *fs, lsm_fs_ss *ss,
10       char **job, lsm_flag flags);
11

ARGUMENTS

13       conn        Valid connection.
14
15       fs          Pointer of lsm_fs.
16
17       ss          Pointer of lsm_fs_ss to delete.
18
19       job         Output pointer of string. If storage system  support  asyn‐
20                   chronous action on this, a job will be created and could be
21                   tracked via lsm_job_status_get.   NULL  if  storage  system
22                   does not support asynchronous action on this.
23
24       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
25

VERSION

27       1.0
28

DESCRIPTION

30       Deletes the specified file system snapshot.
31

CAPABILITY

33       LSM_CAP_FS_SNAPSHOT_DELETE
34

RETURN

36       Error code as enumerated by 'lsm_error_number'.
37           * LSM_ERR_OK
38               On success.
39           * LSM_ERR_JOB_STARTED
40               A job is started. Please check the 'job' output pointer.
41           * LSM_ERR_INVALID_ARGUMENT
42               When any argument is NULL or not a valid lsm_connect pointer
43               or invalid flags.
44           * LSM_ERR_NOT_FOUND_FS
45               When file system not found.
46           * LSM_ERR_NOT_FOUND_FS_SS
47               When file system snapshot not found.
48           * LSM_ERR_NO_SUPPORT
49               Not supported.
50
51
52
53November 2022                  lsm_fs_ss_delete            lsm_fs_ss_delete(3)
Impressum