Command rescan-scsi-bus.sh -r crashes server

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7
  • sg3_utils-1.37-5

Issue

  • When I want to remove an old LUN server crashes when running the command : /usr/bin/rescan-scsi-bus.sh --remove

Resolution

This issue has been resolved via Errata RHBA-2018:3181

Root Cause

There is a known bug from version 1.37-5 until version 1.37-14
The issue is caused by a revision change of a existing SCSI-disk. This also affects disks which may be presented by a storage-system which gets a firmware upgrade.

Diagnostic Steps

  • After the server has been rebooted because unresponsive , in /var/log/messages there are these entries:

    kernel: sd 2:0:1:0: Warning! Received an indication that the LUN assignments 
    on this target have changed. The Linux SCSI layer does not automatical
    VxVM vxdmp V-5-0-0 [Info] removed disk array 000292601832, datype = 
    vxvm_handle_diskoffline_event: Could not find udid for 201/336'
    
    
  • Use yum list sg3_utils to check the version of the sg3_utils package

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments