1. Run the lsscsi command to query for the system disk ID. Figure 2 shows an example.
Figure 2 Querying the system disk ID
In this figure, the system disk ID is 0:0:0:0. The actual system disk ID obtained after the fault occurs is 0:1:0:0.
2. Navigate to /sys/class/scsi_device/system disk ID/device. For this fault, navigate to /sys/class/scsi_device/0:1:0:0/device, and check the system status. It is found that the system disk is offline (as indicated in Figure 3). In this state, the system disk cannot read and write data normally. Hence, the execution of system commands returns "Input/output error" since system commands are stored on the system disk.
Figure 3 System disk in offline state
3. Check the log of the RAID card of the disk. The "Data Scrub Corrected Medium Error" is found.
Figure 4 Log of the RAID card
This error indicates that the disk has been damaged and must be replaced.