Bug 405021 - scsi_id fails to show version info and proper wwids for multipath
Summary: scsi_id fails to show version info and proper wwids for multipath
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: udev
Version: 5.0
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
: ---
Assignee: Harald Hoyer
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1049888
TreeView+ depends on / blocked
 
Reported: 2007-11-29 20:39 UTC by Dave Berry
Modified: 2014-09-16 00:18 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-16 00:18:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1239 0 normal SHIPPED_LIVE udev bug fix update 2014-09-16 04:14:24 UTC

Description Dave Berry 2007-11-29 20:39:45 UTC
Description of problem:
multipath does not work due to a failure of scsi_id.   When /sbin/scsi_id is run
with -V(version) nothing is returned.  Also when /sbin/scsi_id -u -g -s
/block/sdq is run the wwid returned is longer than the wwid in RHEL 4.  This
prohibits multipath to set wwid in /etc/multipath.conf since the port of the SAN
is returned in the longer wwid.


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

udev-095-14.5
device-mapper-multipath-0.4.7-8

How reproducible:

very reporducible


Steps to Reproduce:
1.run /sbin/scsi_id -V
2.run /sbin/scsi_id -u -g -s /block/<device>
3.
  
Actual results:
nothing is returned for step 1
the long wwid is returned for step 2

Expected results:

-V should yield version numbers
the wwid should be limited to just the drive ID and not include the port on the SAN



Additional info:

Comment 1 Ben Marzinski 2007-12-11 18:35:15 UTC
These are both scsi_id problems, not device-mapper-multipath problems. I'm
switching the component to udev, which provides /sbin/scsi_id.

Comment 4 Harald Hoyer 2014-01-31 12:31:54 UTC
commit 11678eff6a40b05d192be65146a66d5e1e8252ec

Comment 6 Harald Hoyer 2014-05-06 14:32:10 UTC
# scsi_id -V
scsi_id version: 0.9

'-x' now adds a
ID_SERIAL_SHORT=
environment variable, which is most likely what you want.

Comment 10 errata-xmlrpc 2014-09-16 00:18:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1239.html


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