From: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
To: lingli tang <tanglingli001@gmail.com>
Cc: STGT-Devel <stgt@vger.kernel.org>
Subject: Re: scsi_id not valid in iscsi node
Date: Mon, 02 Jun 2014 14:43:41 -0700 [thread overview]
Message-ID: <1401745421.32085.12.camel@haakon3.risingtidesystems.com> (raw)
In-Reply-To: <CAN+bsqg+rrCRHci=8K8_Az6EjONByTuadOGw-NfXdgjQSAvT_A@mail.gmail.com>
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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next parent reply other threads:[~2014-06-02 21:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAN+bsqg+rrCRHci=8K8_Az6EjONByTuadOGw-NfXdgjQSAvT_A@mail.gmail.com>
2014-06-02 21:43 ` Nicholas A. Bellinger [this message]
2014-06-03 6:09 ` scsi_id not valid in iscsi node Apollon Oikonomopoulos
2014-06-10 4:44 ` lingli tang
2014-06-15 6:23 ` Or Gerlitz
2014-06-23 3:09 ` lingli tang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1401745421.32085.12.camel@haakon3.risingtidesystems.com \
--to=nab@linux-iscsi.org \
--cc=stgt@vger.kernel.org \
--cc=tanglingli001@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).