My Oracle Support Banner

How to Dynamically Add and Remove SCSI Devices on Linux (Doc ID 603868.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version 2.4 to 2.6
Linux x86
Linux x86-64
Linux Kernel - Version: 2.4 to 2.6
***Checked for relevance on 29-Feb-2012***
***Checked for relevance on 03-Sep-2013***
***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.

Examples used are based on Oracle Linux Server 5 GA (2.6.18-8.el5).

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.