SUSE Support

Here When You Need Us

The rescan-scsi-bus.sh --forcerescan option removes SCSI devices

This document (7018624) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)

Situation

With sg3_utils version 1.40-0.21.1 and newer the --forcerescan option is fixed. Prior to this version specifying the option did not work as expected. The option should normally be avoided and only be used in case of emergency - e.g. if there is a kernel bug or a LUN is not pointing to the correct target device any more (changes done on the target).

NOTE: Running the script with this option can result in it removing in-use underlying devices!

Resolution

If possible avoid using the --forcerescan or --forceremove options.

Cause

Both the options --forcerescan and --forceremove remove the devices as a first step.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7018624
  • Creation Date: 16-Feb-2017
  • Modified Date:28-Sep-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.