1lsm_local_disk_fault_led_ofLfi(b3s)toragemgmt C API Mlasnmu_allocal_disk_fault_led_off(3)
2
3
4
6 lsm_local_disk_fault_led_off - Turn off the disk fault LED.
7
9 int lsm_local_disk_fault_led_off (const char *disk_path, lsm_error
10 **lsm_err);
11
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
20 1.3
21
23 Turn off the fault LED for specified disk. Require read and write ac‐
24 cess to specified disk path.
25
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
45November 2021 lsm_local_disk_fault_lelds_mo_flfocal_disk_fault_led_off(3)