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

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 20:35:23 UTC
Target Upstream Version:
Embargoed:


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 Berrangé
no flags Details | Diff


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

Description Daniel Berrangé 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):
udev-095-14.9.el5

How reproducible:
Always

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

# ls /dev/disk/by-path/
ip-192.168.122.170:3260-iscsi-demo-tgt-a
ip-192.168.122.170:3260-iscsi-demo-tgt-b

Expected results:
One link per LUN:

# ls /dev/disk/by-path/ip*
/dev/disk/by-path/ip-192.168.122.170:3260-iscsi-demo-tgt-a-lun-1
/dev/disk/by-path/ip-192.168.122.170:3260-iscsi-demo-tgt-a-lun-2
/dev/disk/by-path/ip-192.168.122.170:3260-iscsi-demo-tgt-a-lun-3
/dev/disk/by-path/ip-192.168.122.170:3260-iscsi-demo-tgt-a-lun-4
/dev/disk/by-path/ip-192.168.122.170:3260-iscsi-demo-tgt-a-lun-5
/dev/disk/by-path/ip-192.168.122.170:3260-iscsi-demo-tgt-b-lun-1
/dev/disk/by-path/ip-192.168.122.170:3260-iscsi-demo-tgt-b-lun-2


Additional info:
Works correctly on Fedora 8...

Comment 1 Daniel Berrangé 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
LUNS

Comment 2 RHEL 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
release.

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.

http://rhn.redhat.com/errata/RHBA-2009-0076.html


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