[Gluster-devel] iSCSI

francis Lavalliere francis.lavalliere at gmail.com
Thu Jul 7 22:21:19 UTC 2016


Hello,

I've been messing around with Gluster FS version 3.7 and 3.8.

Currently i am trying to implement iSCSI with Gluster FS.

I've installed ubuntu 16.04 and have installed various components:

I didnt found any tcmu-runner packages for ubuntu, so i manually built it
using their git repository:

I've tried : cmake . -Dwith-glfs=true  and successfully installed it using
make/make install..

when I do : targetcli ls  i do not see the output of the user:glfs


Here is an example of the output. I've managed to do it via fileio, but
this is not the right way.

targetcli ls

o- */*
.........................................................................................................................*
[*...*]*

  o- *backstores*
..............................................................................................................*
[*...*]*

  | o- *fileio*
...................................................................................................*
[*1 Storage Object*]*

  | | o- *testfs*
..................................................................................*
[*711.0M, /nfs/testfs.img, in use*]*

  | o- *iblock*
...................................................................................................*
[*0 Storage Object*]*

  | o- *pscsi*
....................................................................................................*
[*0 Storage Object*]*

  | o- *rd_mcp*
...................................................................................................*
[*0 Storage Object*]*

  o- *ib_srpt*
...........................................................................................................*
[*0 Targets*]*

  o- *iscsi*
..............................................................................................................*
[*1 Target*]*

  | o- *iqn.2015-04.com.example:target1*
.....................................................................................*
[*1 TPG*]*

  |   o- *tpg1*
............................................................................................................*
[*enabled*]*

  |     o- *acls*
...........................................................................................................*
[*0 ACLs*]*

  |     o- *luns*
............................................................................................................*
[*1 LUN*]*

  |     | o- *lun0*
................................................................................*
[*fileio/testfs (/nfs/testfs.img)*]*

  |     o- *portals*
......................................................................................................*
[*1 Portal*]*

  |       o- *0.0.0.0:3260 <http://0.0.0.0:3260>*
.......................................................................................*
[*OK, iser enabled*]*

  o- *loopback*
..........................................................................................................*
[*0 Targets*]*

  o- *qla2xxx*
...........................................................................................................*
[*0 Targets*]*

  o- *tcm_fc*
............................................................................................................*
[*0 Targets*]*

  o- *usb_gadget*
........................................................................................................*
[*0 Targets*]*

  o- *vhost*
.............................................................................................................*
[*0 Targets*]*


Anyone would know how to make iSCSI target user:glfs show in the targetcli
to be compatible with GlusterFS Directly?


Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160707/25cdcd6d/attachment-0001.html>


More information about the Gluster-devel mailing list