Bug 479692

Summary: [NetApp 4.8 feat] Include a bundled dynamic SCSI rescan script
Product: Red Hat Enterprise Linux 4 Reporter: Martin George <marting>
Component: sg3_utilsAssignee: Rob Evers <revers>
Status: CLOSED NEXTRELEASE QA Contact: BaseOS QE <qe-baseos-auto>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: andriusb, coughlan, mchristi, revers, rlerch, xdl-redhat-bugzilla
Target Milestone: betaKeywords: FutureFeature, OtherQA
Target Release: 4.8   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, the Red Hat Knowledgebase article documenting Fibre Channel rescan in Red Hat Enterprise Linux 4 was not accurate. This procedure has now been updated, and can be viewed at: http://kbase.redhat.com/faq/docs/DOC-3942
Story Points: ---
Clone Of: 476571 Environment:
Last Closed: 2009-03-27 22:25:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 467201, 476571    
Bug Blocks: 450897    

Description Martin George 2009-01-12 14:49:54 UTC
+++ This bug was initially created as a clone of Bug #476571 +++

+++ This bug was initially created as a clone of Bug #467713 +++

+++ This bug was initially created as a clone of Bug #467201 +++

Feature request:
Dynamic SCSI rescan functionality can be currently implemented by manually echoing values into the SCSI sysfs files. This is an extremely useful feature in enterprise scenarios, as a reload of the underlying driver(which does a SCSI rescan) is not practical as it is disruptive.

It would be ideal if the RHEL kernel provides a bundled SCSI rescan script which performs the following dynamic SCSI rescan functionalities:

1) Detect luns added to the host.

2) Remove luns from the host.

3) Resize existing luns on the host.


Version-Release number of selected component (if applicable):
RHEL 5.3.

--- Additional comment from dhorak on 2008-10-16 07:07:19 EDT ---

Are you looking for something like the rescan-scsi-bus.sh script from http://www.garloff.de/kurt/linux/scsidev/ ?

--- Additional comment from marting on 2008-10-16 07:39:56 EDT ---

Exactly. 

This could be made a part of the sg3_utils package. Are there any plans to include this in future RHEL kernels?

--- Additional comment from dhorak on 2008-10-16 08:39:04 EDT ---

Please submit a request for enhancement via the standard support channel and let them bind the request with this bug.

I can add the script into Fedora on my own, so it will then appear in RHEL 6.

--- Additional comment from andriusb on 2008-10-16 12:53:48 EDT ---

Dan - NetApp is a formal engineering Partner and therefore this bugzilla will serve as the official feature request I'll monitor (being their assigned partner manager).

--- Additional comment from andriusb on 2008-10-20 09:40:43 EDT ---

The RHEL 5.4 bug for this issue can be found at bug 467201.

--- Additional comment from dhorak on 2008-11-03 03:08:10 EDT ---

I have cloned this bug for Fedora Rawhide and made it block this bug. Dependency on the RHEL 5.4 original bug (auto created during cloning) is removed.

Comment 1 Rob Evers 2009-03-25 13:53:53 UTC
Fibre Channel rescan is now documented under the kbase article pointed to by:

    http://kbase.redhat.com/faq/docs/DOC-3942

No further action is anticipated for this bugzilla.

Comment 2 Rob Evers 2009-03-25 14:20:35 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
Fibre Channel rescan is now documented under the kbase article pointed to by:

    http://kbase.redhat.com/faq/docs/DOC-3942

Comment 7 Ryan Lerch 2009-04-08 00:07:26 UTC
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1,3 +1 @@
-Fibre Channel rescan is now documented under the kbase article pointed to by:
+Previously, the Red Hat Knowledgebase article documenting Fibre Channel rescan in Red Hat Enterprise Linux 4 was not accurate. This procedure has now been updated, and can be viewed at: http://kbase.redhat.com/faq/docs/DOC-3942-
-    http://kbase.redhat.com/faq/docs/DOC-3942