Re: iSCSI over RBD

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

 



On 12/25/2017 03:13 PM, Joshua Chen wrote:
> Hello folks,
>   I am trying to share my ceph rbd images through iscsi protocol.
> 
> I am trying iscsi-gateway 
> http://docs.ceph.com/docs/master/rbd/iscsi-overview/
> 
> 
> now 
> 
> systemctl start rbd-target-api
> is working and I could run gwcli
> (at a CentOS 7.4 osd node)
> 
> gwcli
> /> ls
> o- /
> .........................................................................................................................
> [...]
>   o- clusters
> ........................................................................................................
> [Clusters: 1]
>   | o- ceph
> ............................................................................................................
> [HEALTH_OK]
>   |   o- pools
> ..........................................................................................................
> [Pools: 1]
>   |   | o- rbd
> ...........................................................................
> [(x3), Commit: 0b/25.9T (0%), Used: 395M]
>   |   o- topology
> ................................................................................................
> [OSDs: 9,MONs: 3]
>   o- disks
> ..........................................................................................................
> [0b, Disks: 0]
>   o- iscsi-target
> .....................................................................................................
> [Targets: 0]
> 
> 
> but when I created iscsi-target, I got
> 
> Local LIO instance already has LIO configured with a target - unable to
> continue
> 
> 
> /> /iscsi-target create
> iqn.2003-01.org.linux-iscsi.ceph-node1.x8664:sn.571e1ab51af2
> Local LIO instance already has LIO configured with a target - unable to
> continue
> /> 
>


Could you send the output of

targetcli ls

?

What distro are you using?

You might just have a target setup from a non gwcli source. Maybe from
the distro targetcli systemd tools.
_______________________________________________
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