From: Ferry <iscsitmp@bananateam.nl>
To: <linux-kernel@vger.kernel.org>
Subject: LIO - mdadm partitions as backend
Date: Fri, 06 Jul 2012 17:40:18 +0200 [thread overview]
Message-ID: <53c69b509b1d4b8bd9c2d52da73feb35@mail.bananateam.nl> (raw)
Hi there,
first off - sorry to bug you guys, relative simple issue -
http://linux-iscsi.org/wiki/Support <- states to come here.
Anyways, walking my first steps with LIO, moving away from IET and
running into an issue.
Rather than have several MD devices created out of partitions, we did
the reverse. Added entire disks to MD and partitioned the MD set,
resulting in device like /dev/md4p1, /dev/md4p2, etc.
Whilst these are block devices (afaik, seem to act that way everywhere
else), targetcli doesn't seem to recognize them. At least not on the
Ubuntu 12.04 server I'm trying it with, frequently giving not so savvy
errors:
/backstores/fileio> create tt /dev/md4p1
For fileio, you must either specify both a file and a size, or just a
device path.
Can't create it, did specify a path (more accurate error would be nice)
/backstores/fileio> create tt /dev/md4
Generating a wwn serial.
Not using buffered mode.
Created fileio tt with size None.
Entering new node /backstores/fileio/tt
No such path /backstores/fileio/tt
Creates it, but does give a no such path error, can cd into it and get
status just fine....
/backstores/fileio> ls
o- fileio ................................................... [1
Storage Object]
o- tt ................................................. [/dev/md4
deactivated]
/backstores/fileio> cd tt
/backstores/fileio/tt> ls
o- tt ................................................... [/dev/md4
deactivated]
/backstores/fileio/tt> status
Status for /backstores/fileio/tt: /dev/md4 deactivated
/backstores/fileio/tt> cd ..
/backstores/fileio> delete tt
Deleted storage object tt.
Deletes fine.
/backstores/fileio> cd ../iblock
/backstores/iblock> create tt /dev/md4p1
Generating a wwn serial.
Device is not a TYPE_DISK block device.
Same issue here as blockio.
/backstores/iblock> create tt /dev/md4
Generating a wwn serial.
Created iblock storage object tt using /dev/md4.
Entering new node /backstores/iblock/tt
No such path /backstores/iblock/tt
Just like fileio creates it, but states no such path... Again can CD
into it and get status tho'.
/backstores/iblock> cd tt
/backstores/iblock/tt> status
Status for /backstores/iblock/tt: /dev/md4 deactivated
/backstores/iblock/tt> cd ..
/backstores/iblock> delete tt
Deleted storage object tt.
Thanks in advance :).
reply other threads:[~2012-07-06 15:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=53c69b509b1d4b8bd9c2d52da73feb35@mail.bananateam.nl \
--to=iscsitmp@bananateam.nl \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®