Re: scsi_id not valid in iscsi node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forwarding to the correct stgt-devel list..

On Fri, 2014-05-30 at 17:38 +0800, lingli tang wrote:
> 点击展示:
> 1. 点击服务器展示服务器的:cpu(%user,%sys,%iowait,%idle),memory(Total,used, free,
> buffer, cache), IOPS(read request, write request), Througthput(read
> kb, write kb),
> 
> we use tgtd 1.0.47 to export a disk and use iscsiadm to load it.
> but the ID_SERIAL of this disk is not the same with scsi_id of export disk.
> if we use tgtd 1.0.24 it is the same.
> 
> using tgtd 1.0.47, export the disk, and show target info like:
>     Target 1: shadow.qlink3261
>         System information:
>             Driver: iser
>             State: ready
>         I_T nexus information:
>             I_T nexus: 1
>                 Initiator: iqn.1994-05.com.redhat:2fe5d8395c2f alias: master
>                 Connection: 0
>                     RDMA IP Address: 172.16.128.102
>             I_T nexus: 2
>                 Initiator: iqn.1994-05.com.redhat:2fe5d8395c2f alias: master
>                 Connection: 0
>                     RDMA IP Address: 172.16.129.102
>         LUN information:
>             LUN: 0
>                 Type: controller
>                 SCSI ID: IET     00010000
>                 SCSI SN: beaf10
>                 Size: 0 MB, Block size: 1
>                 Online: Yes
>                 Removable media: No
>                 Prevent removal: No
>                 Readonly: No
>                 SWP: No
>                 Thin-provisioning: No
>                 Backing store type: null
>                 Backing store path: None
>                 Backing store flags:
>             LUN: 1
>                 Type: disk
>                 SCSI ID: test1-iscsi-iser
>                 SCSI SN: test1-iscsi-iser
>                 Size: 104858 MB, Block size: 512
>                 Online: Yes
>                 Removable media: No
>                 Prevent removal: No
>                 Readonly: No
>                 SWP: No
>                 Thin-provisioning: No
>                 Backing store type: rdwr
>                 Backing store path: /dev/memdiska1
>                 Backing store flags: direct
>         Account information:
>         ACL information:
>             172.16.128.0/24
>             172.16.129.0/24
> 
> after iscsiadm log in, we check the ID_SERIAL of this disk using
> “udevadm info --query=all --path=/block/sdb”:
>     E: ID_SERIAL_RAW=360000000000000000e001000c00000e0
>     E: ID_SERIAL=360000000000000000e001000c00000e0
>     E: ID_SERIAL_SHORT=60000000000000000e001000c00000e0
> 
> but with tgtd 1.0.24, it is correct:
>     E: ID_SERIAL_RAW=1test1-iscsi-iser
>     E: ID_SERIAL=1test1-iscsi-iser
>     E: ID_SERIAL_SHORT=test1-iscsi-iser
> 
> test environment rhel6.2
> --
> To unsubscribe from this list: send the line "unsubscribe target-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux