1lsm_system_list(3) Libstoragemgmt C API Manual lsm_system_list(3)
2
3
4
6 lsm_system_list - Gets a list of systems on this connection.
7
9 int lsm_system_list (lsm_connect *conn, lsm_system **systems[],
10 uint32_t *system_count, lsm_flag flags);
11
13 conn Valid connection.
14
15 systems[] Output pointer of lsm_system array. Returned data should be
16 freed by lsm_system_record_array_free.
17
18 system_count
19 uint32_t. Number of systems.
20
21 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
22
24 1.0
25
27 Gets a list of systems on this connection. A system represents a stor‐
28 age array or direct attached storage RAID. Examples include:
29 * A hardware RAID card: LSI MegaRAID, HP SmartArray.
30 * A storage area network (SAN): EMC VNX, NetApp Filer
31 * A software solution running on commodity hardware: Linux targetd,
32 Nexenta
33
34 System properties could be retrieved by these functions:
35 * lsm_system_id_get
36 * lsm_system_name_get
37 * lsm_system_status_get
38 * lsm_system_fw_version_get
39 * lsm_system_read_cache_pct_get
40 * lsm_system_mode_get
41
43 Error code as enumerated by 'lsm_error_number'.
44 * LSM_ERR_OK
45 On success or searched value not found.
46 * LSM_ERR_INVALID_ARGUMENT
47 When any argument is NULL or invalid flags.
48
49
50
51April 2023 lsm_system_list lsm_system_list(3)