Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 634977 - Spinning up disk for device on standby path causing long boot up [rhel-5.5.z]
Spinning up disk for device on standby path causing long boot up [rhel-5.5.z]
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
5.5
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Jiri Pirko
Red Hat Kernel QE team
: ZStream
Depends On: 608109
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-17 09:27 EDT by RHEL Product and Program Management
Modified: 2015-05-04 21:21 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, disks were spinning up for devices in an Active/Passive array on standby path side. This caused long boot up times which resulted in SD devices to be all created before multipath was ready. With this update, a disk is not spun up if returning NOT_READY on standby path.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-09 13:07:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0839 normal SHIPPED_LIVE Moderate: kernel security and bug fix update 2010-11-09 13:06:20 EST

  None (edit)
Description RHEL Product and Program Management 2010-09-17 09:27:47 EDT
This bug has been copied from bug #608109 and has been proposed
to be backported to 5.5 z-stream (EUS).
Comment 2 Paul Hinchman 2010-10-06 20:27:06 EDT
Hello Red Hat:  Is the patch code for the Spinning up disk issue upstream?  If so, can you give us a name and pointer to it?  Thanks!
Comment 3 Rob Evers 2010-10-07 09:33:37 EDT
On Fri, Feb 20, 2009 at 12:03:58PM +0000, Rengarajan, Narayanan (STSD) wrote:
Spinning up disk is observed on standby paths until timeout, resulting in longer
path restoration time in 2.6.27 kernel.
Steps to reproduce:
1. present a standby lun to the host
2. do a discovery from the host (scan the scsi bus)  3. Spinning of disks is
observed in  /var/log/messages
Whenever a device goes offline and comes back, the new sd device takes longer time
to get created. This is because of the spinning up of disk in sd_spinup_disk
fuction as the standby paths would return device not ready with 0x04/0x0b asc/ascq.

Commit id from storage-tree: 3dd6f92a1a7ad85c54d47fd9d73371a32c0bde4

If you need me to look up the pointer, let me know.
Comment 5 Paul Hinchman 2010-10-08 14:30:04 EDT
Hi Rob,  Yes, looking up the pointer would be good.  Thanks!!
Comment 7 Jiri Pirko 2010-10-11 04:55:01 EDT
in kernel 2.6.18-194.20.1.el5

linux-2.6-scsi-fix-disk-spinup-for-shorter-path-restore-times.patch
Comment 11 errata-xmlrpc 2010-11-09 13:07:53 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0839.html
Comment 12 Martin Prpič 2010-11-11 08:58:09 EST
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, disks were spinning up for devices in an Active/Passive array on standby path side. This caused long boot up times which resulted in SD devices to be all created before multipath was ready. With this update, a disk is not spun up if returning NOT_READY on standby path.

Note You need to log in before you can comment on or make changes to this bug.