Re: RBD with iSCSI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jak3kaj@xxxxxxxxx> wrote:


On Wed, Sep 9, 2015 at 8:13 AM, Daleep Bais <daleepbais@xxxxxxxxx> 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
ceph-users@xxxxxxxxxxxxxx
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




_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux