Bug 1313212 - fcoe-target-utils does not export block information correctly
Summary: fcoe-target-utils does not export block information correctly
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fcoe-target-utils
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Maurizio Lombardi
QA Contact: Bruno Goncalves
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-01 08:23 UTC by Bruno Goncalves
Modified: 2017-12-06 11:36 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 11:36:50 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Bruno Goncalves 2016-03-01 08:23:54 UTC
Description of problem:
The block backstore information is not exported correctly to fcoe-target LUN.

# lsscsi
[0:0:0:0]    disk    HP       LOGICAL VOLUME   5.14  /dev/sda 
[0:3:0:0]    storage HP       P410             5.14  -       
[5:0:0:0]    disk    Linux    scsi_debug       0004  /dev/sdb 
[6:0:1:0]    disk    LIO-ORG  IBLOCK           4.0   /dev/sdc 

/dev/sdb
# blockdev --getiomin /dev/sdb
32768
# blockdev --getioopt /dev/sdb
262144

/dev/sdc
# blockdev --getiomin /dev/sdc
4096
# blockdev --getioopt /dev/sdc
33554432

Version-Release number of selected component (if applicable):
fcoe-target-utils-2.0rc1.fb16-6.el6

How reproducible:
100%

Steps to Reproduce:
1.# modprobe scsi_debug num_parts=1 sector_size=4096 lowest_aligned=7 physblk_exp=3 dev_size_mb=10

2.# service fcoe-target start

3.# lsscsi
[0:0:0:0]    disk    HP       LOGICAL VOLUME   5.14  /dev/sda 
[0:3:0:0]    storage HP       P410             5.14  -       
[5:0:0:0]    disk    Linux    scsi_debug       0004  /dev/sdb 

3. Configure the target:
# targetcli /backstores/block create block_lun /dev/sdb
# targetcli /loopback/ create naa.1234567890123456
# targetcli /loopback/naa.1234567890123456/luns create /backstores/block/block_lun

# lsscsi
[0:0:0:0]    disk    HP       LOGICAL VOLUME   5.14  /dev/sda 
[0:3:0:0]    storage HP       P410             5.14  -       
[5:0:0:0]    disk    Linux    scsi_debug       0004  /dev/sdb 
[6:0:1:0]    disk    LIO-ORG  IBLOCK           4.0   /dev/sdc 


4. Check block information
# blockdev --getiomin /dev/sdb
32768
# blockdev --getiomin /dev/sdc
4096

# blockdev --getioopt /dev/sdb
262144
# blockdev --getioopt /dev/sdc
33554432

Comment 3 Jan Kurik 2017-12-06 11:36:50 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


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