Bug 427640 - /dev/disk/by-path symlinks broken for iSCSI targets
Summary: /dev/disk/by-path symlinks broken for iSCSI targets
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: udev   
(Show other bugs)
Version: 5.1
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Harald Hoyer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2008-01-06 03:45 UTC by Daniel Berrange
Modified: 2009-01-20 20:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-20 20:35:23 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Fix iSCSI /dev/disk/by-path links to include LUN information (760 bytes, patch)
2008-01-06 03:47 UTC, Daniel Berrange
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0076 normal SHIPPED_LIVE udev bug fix and enhancement update 2009-01-20 16:04:13 UTC

Description Daniel Berrange 2008-01-06 03:45:23 UTC
Description of problem:
The /dev/disk/by-path symlink for iSCSI LUNs fails to include the lun number, so
all iSCSI luns from a particular target end up with the same clashing symlink.

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

How reproducible:

Steps to Reproduce:
1. Login to an iSCSI target which has multiple luns
2. Examine /dev/disk/by-path
Actual results:
Only a single link per target

# ls /dev/disk/by-path/

Expected results:
One link per LUN:

# ls /dev/disk/by-path/ip*

Additional info:
Works correctly on Fedora 8...

Comment 1 Daniel Berrange 2008-01-06 03:47:47 UTC
Created attachment 290899 [details]
Fix iSCSI /dev/disk/by-path links to include LUN information

This patch is basically a diff of the /lib/udev/path_id between RHEL-5 and F-8
for the iSCSI bits. With this patch applied RHEL-5 operates correctly for iSCSI

Comment 2 RHEL Product and Program Management 2008-06-02 20:25:16 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 3 Phil Knirsch 2008-06-13 13:21:38 UTC
Granting Devel ACK.

Read ya, Phil

Comment 8 errata-xmlrpc 2009-01-20 20:35:23 UTC
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.


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