It’s a long shot, but check if librados is installed.

 

From: ceph-users [mailto:[email protected]] On Behalf Of Daleep 
Bais
Sent: 11 September 2015 10:18
To: Jake Young <[email protected]>; [email protected]
Cc: Ceph-User <[email protected]>
Subject: Re: [ceph-users] RBD with iSCSI

 

Hi Jake, Hello Paul,

 

I was able to mount the iscsi target to another initiator. However, after 
installing the tgt and tgt-rbd, my rbd was not working. Getting error message :

 

root@ceph-node1:~# rbd ls test1

rbd: symbol lookup error: rbd: undefined symbol: _ZTIN8librados9WatchCtx

 

I am using this node as target for iscsi initiator ( Ref : 
http://tracker.ceph.com/issues/12563) and using other node in cluster to create 
pools and images.

 

root@ceph-node1:~# tgtadm --version

1.0.51

 

Paul, I will also check the option you have suggested.  Appreciate the 
suggestion!

 

Thanks.

 

Daleep Singh Bais

 

On Thu, Sep 10, 2015 at 7:57 PM, Jake Young <[email protected] 
<mailto:[email protected]> > wrote:

 

 

On Wed, Sep 9, 2015 at 8:13 AM, Daleep Bais <[email protected] 
<mailto:[email protected]> > wrote:

Hi,

 

I am following steps from URL 
http://www.sebastien-han.fr/blog/2014/07/07/start-with-the-rbd-support-for-tgt/ 
  to create a RBD pool  and share to another initiator.

 

I am not able to get rbd in the backstore list. Please suggest.

 

below is the output of tgtadm command:

 

tgtadm --lld iscsi --op show --mode system           

System:

    State: ready

    debug: off

LLDs:

    iscsi: ready

    iser: error

Backing stores:

    sheepdog

    bsg

    sg

    null

    ssc

    smc (bsoflags sync:direct)

    mmc (bsoflags sync:direct)

    rdwr (bsoflags sync:direct)

Device types:

    disk

    cd/dvd

    osd

    controller

    changer

    tape

    passthrough

iSNS:

    iSNS=Off

    iSNSServerIP=

    iSNSServerPort=3205

    iSNSAccessControl=Off

 

 

I have installed tgt and tgt-rbd packages till now. Working on Debian GNU/Linux 
8.1 (jessie)

 

Thanks.

 

Daleep Singh Bais

 

_______________________________________________
ceph-users mailing list
[email protected] <mailto:[email protected]> 
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

 

Hey Daleep,

 

The tgt you have installed does not support Ceph rbd.  See the output from my 
system using a more recent tgt that supports rbd.

 

tgtadm --lld iscsi --mode system --op show

System:

    State: ready

    debug: off

LLDs:

    iscsi: ready

    iser: error

Backing stores:

    rbd (bsoflags sync:direct)

    sheepdog

    bsg

    sg

    null

    ssc

    rdwr (bsoflags sync:direct)

Device types:

    disk

    cd/dvd

    osd

    controller

    changer

    tape

    passthrough

iSNS:

    iSNS=Off

    iSNSServerIP=

    iSNSServerPort=3205

    iSNSAccessControl=Off

 

 

You will need a new version of tgt.  I think the earliest version that supports 
rbd is 1.0.42

 

https://github.com/fujita/tgt

 

 

 




_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to