Wendy, > Below is error with enabling scsi_log_level; > > [108017.427791] ses 0:0:9:0: tag#641 Sense Key : Unit Attention [current] > [108017.427793] ses 0:0:9:0: tag#641 Add. Sense: Bus device reset function occurred OK. I propose you refine your check to retry on NOT_READY as well as UNIT_ATTENTION with ASC 0x29. I think that would be a good start. Do the same for ses_send_diag(). Thanks! -- Martin K. Petersen Oracle Linux Engineering