stgt.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: 席智勇 <xizhiyong18@163.com>
To: stgt@VGER.KERNEL.ORG
Subject: attached devices exported by tgt not oprational
Date: Tue, 2 Sep 2014 14:00:03 +0800 (CST)	[thread overview]
Message-ID: <4c901b0f.155f4.14834f2d962.Coremail.xizhiyong18@163.com> (raw)


when i export many block device by tgt , in one single target , this means many exported lun in one target, to another 
machine by iscsi。 

in another machine , attach the devices by open-iscsi。when i wait the 
size of the device attached change from 0 to correct size, i create raid1 with two devices by mdadm。at this time, mdadm report like 
"/dev/sdem is not suitable for this array.", i read the code of mdadm ,that because it cannot open the device。sometime it even report 
"failed to open /dev/** after earlier success - aborting "。

i do not know whether it's because i used the device when it's not ready yet, or the problem of tgt。

all the above said happened when many target lun(tgt) created at the same 
time concurrently。it do not happen in nomal time. when i change tgt to iet, it 
do not happen either。

 

tgt version: 1.0.48

open-iscsi version:iscsiadm version 2.0-873 

linux system: Linux  3.10.40-amd64  GNU/Linux 

 

 

-------------

Zhiyong Xi

             reply	other threads:[~2014-09-02  6:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-02  6:00 席智勇 [this message]
2014-09-10 18:21 ` attached devices exported by tgt not oprational ronnie sahlberg
2014-09-11  3:35   ` Reply:Re: " 席智勇
2014-09-15 11:07     ` Reply:Reply:Re: " 席智勇
2014-09-22  7:29     ` 席智勇

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=4c901b0f.155f4.14834f2d962.Coremail.xizhiyong18@163.com \
    --to=xizhiyong18@163.com \
    --cc=stgt@VGER.KERNEL.ORG \
    /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).