Sorry for spam again.

By the tgtadm's man, I tried to add "bsopts" option in the tgt's configuration, 
but failed.


And then, I tried to add a "client.user" secion in the button of the ceph.conf. 
But, this still doesn't work. The section looks like this:

[client]
name = iscsiuser
keyring = /etc/ceph/ceph.client.iscsiuser.keyring


When I start tgt, it shows :

[root@datanode1 ceph]# /etc/init.d/tgtd start
Starting target framework daemon
tgtadm: failed to send request hdr to tgt daemon, Transport endpoint is not 
connected
tgtadm: unknown error
Command:
tgtadm -C 0 --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b 
iscsi/tgt  --bstype rbd
exited with code: 22.

Can I specific a user against tgt? or not? Thank you for advise.

________________________________
发件人: ceph-users <ceph-users-boun...@lists.ceph.com> 代表 Lu Dillon 
<ludi_1...@hotmail.com>
发送时间: 2016年10月22日 4:33:12
收件人: ceph-users@lists.ceph.com
主题: [ceph-users] tgt with ceph


Hi all,


I'm using tgt for iSCSI service. Are there any parameters of tgt to specific 
the user and keyring to access the RBD? Right now, I'm using admin user to do 
this. Thanks for advise.


Thanks,

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

Reply via email to