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 systemSystem:State: readydebug: offLLDs:iscsi: readyiser: errorBacking stores:sheepdogbsgsgnullsscsmc (bsoflags sync:direct)mmc (bsoflags sync:direct)rdwr (bsoflags sync:direct)Device types:diskcd/dvdosdcontrollerchangertapepassthroughiSNS:iSNS=OffiSNSServerIP=iSNSServerPort=3205iSNSAccessControl=OffI 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 showSystem:State: readydebug: offLLDs:iscsi: readyiser: errorBacking stores:rbd (bsoflags sync:direct)sheepdogbsgsgnullsscrdwr (bsoflags sync:direct)Device types:diskcd/dvdosdcontrollerchangertapepassthroughiSNS:iSNS=OffiSNSServerIP=iSNSServerPort=3205iSNSAccessControl=OffYou 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