Hello, I am running ceph firefly with the cluster name cephprod and trying to create a lun with the following options: tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1 --backing-store iscsi-spin/test-dr --bstype rbd --bsopts="conf=/etc/ceph/cephprod.conf"
but it fails with the error. The log message is: tgtd: tgt_device_create(626) bsopts=conf=/etc/ceph/cephprod.conf tgtd: bs_rbd_init(519) bs_rbd_init bsopts: "conf=/etc/ceph/cephprod.conf" tgtd: bs_rbd_init(540) bs_rbd_init: confname /etc/ceph/cephprod.conf tgtd: bs_rbd_init(542) bs_rbd_init bsopts= tgtd: bs_rbd_init(565) bs_rbd_init: rados_connect: -2 I believe it needs a cluster name so I also tried with the option clusterprod: tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1 --backing-store iscsi-spin/test-dr --bstype rbd --bsopts="conf=/etc/ceph/prod.conf;cluster=prod" it fails with the following message: tgtd: mtask_execute(501) 211 1 2 0 1 0 1 path=iscsi-spin/gpsfile-dr,bstype=rbd,bsopts=conf=/etc/ceph/cephprod.conf;cluster=cephprod 12866 tgtd: device_mgmt(246) sz:91 params:path=iscsi-spin/gpsfile-dr,bstype=rbd,bsopts=conf=/etc/ceph/cephprod.conf;cluster=cephprod tgtd: tgt_device_create(489) 1 1 tgtd: tgt_device_create(626) bsopts=conf=/etc/ceph/cephprod.conf;cluster=cephprod tgtd: bs_rbd_init(519) bs_rbd_init bsopts: "conf=/etc/ceph/cephprod.conf;cluster=cephprod" tgtd: bs_rbd_init(531) bs_rbd: ignoring unknown option "" tgtd: bs_rbd_init(540) bs_rbd_init: confname /etc/ceph/cephprod.conf tgtd: bs_rbd_init(542) bs_rbd_init bsopts=;cluster=cephprod tgtd: bs_rbd_init(565) bs_rbd_init: rados_connect: -2 Would some one know how to configure tgt with a cluster name other than "ceph" Regards, Gagan
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
