Scroll to navigation

lsm_system_mode_get(3) Libstoragemgmt C API Manual lsm_system_mode_get(3)

NAME

lsm_system_mode_get - Retrieves system mode.

SYNOPSIS

lsm_system_mode_type lsm_system_mode_get (lsm_system *s);

ARGUMENTS

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.

lsm_system_mode_get April 2023