lsm_local_disk_fault_led_off

lsm_local_disk_fault_led_oLibstoragemgmt C API lsmulocal_disk_fault_led_off(3)



NAME
       lsm_local_disk_fault_led_off - Turn off the disk fault LED.

SYNOPSIS
       int lsm_local_disk_fault_led_off (const char *disk_path, lsm_error
       **lsm_err);

ARGUMENTS
       disk_path   String. The path of disk path, example "/dev/sdb".

       lsm_err     Output pointer of lsm_error. Error message could be
                   retrieved via lsm_error_message_get. Memory should be freed
                   by lsm_error_free.

VERSION
       1.3

DESCRIPTION
       Turn off the fault LED for specified disk.  Require read and write
       access to specified disk path.

RETURN
       Error code as enumerated by 'lsm_error_number':
           * LSM_ERR_OK
               On success.
           * LSM_ERR_INVALID_ARGUMENT
               When any argument is NULL
           * LSM_ERR_NO_MEMORY
               When no memory.
           * LSM_ERR_LIB_BUG
               When something unexpected happens.
           * LSM_ERR_NOT_FOUND_DISK
               When provided disk path not found.
           * LSM_ERR_PERMISSION_DENIED
               Insufficient permission to access provided disk path.
           * LSM_ERR_NO_SUPPORT
               Action is not supported.



May 2018                 lsm_local_disk_fault_llsmolocal_disk_fault_led_off(3)