lsm_fs_ss_list - Man Page

Gets a list of snapshots of specified file system

Synopsis

int lsm_fs_ss_list (lsm_connect *conn, lsm_fs *fs, lsm_fs_ss **ss[], uint32_t *ss_count, lsm_flag flags);

Arguments

conn

Valid connection.

fs

Pointer of lsm_fs to check for snapshots.

ss[]

Output pointer of lsm_fs_ss array. It should be manually freed by lsm_fs_ss_record_array_free.

ss_count

Number of elements in the array.

flags

Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

Version

1.0

Description

Gets a list of file systems snapshots on this connection. File system snapshot properties could be retrieved by these functions:
   * lsm_fs_ss_id_get
   * lsm_fs_ss_name_get
   * lsm_fs_ss_time_stamp_get

Capability

LSM_CAP_FS_SNAPSHOTS

Return

Error code as enumerated by 'lsm_error_number'.
   * LSM_ERR_OK
       On success or searched value not found.
   * LSM_ERR_INVALID_ARGUMENT
       When any argument is NULL or invalid flags or invalid search
       key.
   * LSM_ERR_NO_SUPPORT
       Not supported.

Info

April 2023 Libstoragemgmt C API Manual