Re: 答复: tgt with ceph

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

 



I think you are looking for the "id" option -- not "name".

[1] https://github.com/fujita/tgt/blob/master/doc/README.rbd#L36

On Mon, Oct 24, 2016 at 3:58 AM, Lu Dillon <ludi_1981@xxxxxxxxxxx> wrote:
> 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-bounces@xxxxxxxxxxxxxx> 代表 Lu Dillon
> <ludi_1981@xxxxxxxxxxx>
> 发送时间: 2016年10月22日 4:33:12
> 收件人: ceph-users@xxxxxxxxxxxxxx
> 主题:  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@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Jason
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux