My Oracle Support Banner

Oracle Linux: How to Dynamically Add / Remove SCSI Devices on Linux (Doc ID 603868.1)

Last updated on SEPTEMBER 01, 2023

Applies to:

Linux OS - Version Oracle Linux 4.4 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64
Linux Kernel - Version: 2.4 to 2.6 *** ***
***Checked for relevance on 19-Jun-2015***
***Checked for relevance on 21-Nov-2016***
***Checked for relevance on 15-Jan-2018***



Goal

This article is primarily intended for Linux System and Storage Administrators.
It aims to list and describe the various, low-level methods available to identify, add and remove SCSI devices from a Linux system.

Whilst examples provided are based on Oracle Linux 5, they continue to remain relevant/applicable for later OL releases.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. SCSI Device Addressing
 2. SCSI Device Naming
 3. Scanning, Adding and Removing Devices
 3.1 System reboot
 3.2 Reload hostadapter driver
 3.3 procfs /proc/scsi/scsi (2.4 kernel)
 3.4 sysfs /sys/class/scsi_host/ (2.6 kernel)
 3.5 Other Native and Vendor Supplied Scripts
 4. Removing a Multipath Device by Example
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.