lsm_system_mode_get - Man Page

Retrieves system mode.

Synopsis

lsm_system_mode_type lsm_system_mode_get (lsm_system *s);

Arguments

s

System to retrieve system mode for.

Version

1.3

Description

Retrieves system mode, currently only supports retrieving hardware RAID cards system mode.

Capability

LSM_CAP_SYS_MODE_GET

Return

lsm_system_mode_type. Possible values are:
   * LSM_SYSTEM_MODE_UNKNOWN
       The value when invalid argument or bug.
   * LSM_SYSTEM_MODE_NO_SUPPORT
       The value when requested method is not supported.
   * LSM_SYSTEM_MODE_HARDWARE_RAID
       The storage system is a hardware RAID card(like HP SmartArray
       and LSI MegaRAID) and could expose the logical volume(aka,
       RAIDed virtual disk) to OS while hardware RAID card is handling
       the RAID algorithm. In this mode, storage system cannot expose
       physical disk directly to OS.
   * LSM_SYSTEM_MODE_HBA
       The physical disks can be exposed to OS directly without any
       configurations. SCSI enclosure service might be exposed to OS
       also.

Info

April 2023 Libstoragemgmt C API Manual