1lsm_system_mode_get(3) Libstoragemgmt C API Manual lsm_system_mode_get(3)
2
3
4
6 lsm_system_mode_get - Retrieves system mode.
7
9 lsm_system_mode_type lsm_system_mode_get (lsm_system *s);
10
12 s System to retrieve system mode for.
13
15 1.3
16
18 Retrieves system mode, currently only supports retrieving hardware RAID
19 cards system mode.
20
22 LSM_CAP_SYS_MODE_GET
23
25 lsm_system_mode_type. Possible values are:
26 * LSM_SYSTEM_MODE_UNKNOWN
27 The value when invalid argument or bug.
28 * LSM_SYSTEM_MODE_NO_SUPPORT
29 The value when requested method is not supported.
30 * LSM_SYSTEM_MODE_HARDWARE_RAID
31 The storage system is a hardware RAID card(like HP SmartArray
32 and LSI MegaRAID) and could expose the logical volume(aka,
33 RAIDed virtual disk) to OS while hardware RAID card is handling
34 the RAID algorithm. In this mode, storage system cannot expose
35 physical disk directly to OS.
36 * LSM_SYSTEM_MODE_HBA
37 The physical disks can be exposed to OS directly without any
38 configurations. SCSI enclosure service might be exposed to OS
39 also.
40
41
42
43May 2021 lsm_system_mode_get lsm_system_mode_get(3)