1lsm_local_disk_fault_led_onL(i3b)storagemgmt C API Malnsuma_llocal_disk_fault_led_on(3)
2
3
4

NAME

6       lsm_local_disk_fault_led_on - Turn on the disk fault LED.
7

SYNOPSIS

9       int   lsm_local_disk_fault_led_on  (const  char  *disk_path,  lsm_error
10       **lsm_err);
11

ARGUMENTS

13       disk_path   String. The path of disk path, example "/dev/sdb".
14
15       lsm_err     Output pointer of lsm_error. Error  message  could  be  re‐
16                   trieved  via  lsm_error_message_get. Memory should be freed
17                   by lsm_error_free.
18

VERSION

20       1.3
21

DESCRIPTION

23       Turn on the fault LED for specified disk.  Require read and  write  ac‐
24       cess to specified disk path.
25

RETURN

27       Error code as enumerated by 'lsm_error_number':
28           * LSM_ERR_OK
29               On success.
30           * LSM_ERR_INVALID_ARGUMENT
31               When any argument is NULL
32           * LSM_ERR_NO_MEMORY
33               When no memory.
34           * LSM_ERR_LIB_BUG
35               When something unexpected happens.
36           * LSM_ERR_NOT_FOUND_DISK
37               When provided disk path not found.
38           * LSM_ERR_PERMISSION_DENIED
39               Insufficient permission to access provided disk path.
40           * LSM_ERR_NO_SUPPORT
41               Action is not supported.
42
43
44
45May 2021                  lsm_local_disk_fault_lelds_mo_nlocal_disk_fault_led_on(3)
Impressum