MTP status page Error SCSI device devXXX is offline

Document ID : KB000048741
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

PROBLEM:

On the MTP's local system status page, there is an error in the RAID section that a device is offline.

Ex:

 	Error: SCSI Device /dev/sdb is offline. 

Solution:

RESOLUTION:

This should only be visible for a non-system device like sdb or sdb1 (the MTP's data/capture array). The error indicates that the OS found a problem with the device and set it to offline. The fix for this is to reboot the MTP server and it should bring it back online:

 	/sbin/reboot 

More info:

You can also run a couple linux commands to verify the status of the device:

First lsscsi to get the host/chan/id/lun of the device in question:

 	[root@MTP01 ~]# lsscsi | grep sdb 
 	[1:0:0:0]  	disk Adaptec Data V1.0 /dev/sdb 

Now cat these two files and look for the row that matches the first 4 numbers from the lsscsi command (the 1 in the last column indicates that the sdb device is in fact online):

 	[root@MTP01 ~]# cat /proc/scsi/sg/device_hdr; cat /proc/scsi/sg/devices 
 	host chan id lun type opens qdepth busy online 
 	0 0 0 0 0 1 256 0 1 
 	0 1 0 0 0 1 1 0 1 
 	0 1 1 0 0 1 1 0 1 
 	0 1 2 0 0 1 1 0 1 
 	0 1 3 0 0 1 1 0 1 
 	1 0 0 0 0 1 256 0 1