It works!
Thanks for all
On 12/07/13 11:23, Toni F. [ackstorm] wrote:
Yes! it seems that i wasn't compiled the rbd support.
System:
State: ready
debug: off
LLDs:
iscsi: ready
Backing stores:
bsg
sg
null
ssc
aio
rdwr (bsoflags sync:direct)
Device types:
disk
cd/dvd
osd
controller
changer
tape
passthrough
iSNS:
iSNS=Off
iSNSServerIP=
iSNSServerPort=3205
iSNSAccessControl=Off
I'm going to recompile it
Thanks a lot!
On 11/07/13 07:45, Dan Mick wrote:
On 07/10/2013 04:12 AM, Toni F. [ackstorm] wrote:
Hi all,
I have installed the v0.37 of tgt.
To test this feature i follow the
http://ceph.com/dev-notes/adding-support-for-rbd-to-stgt/ guide
When i launch the command:
tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 0
--backing-store iscsi-image --bstype rbd
fails
First i think that lun cannot be 0 because lun 0 is used by the
controller (previous command)
This worked when I first wrote the backend, but tgt may have changed;
I'll investigate and change the blog entry if so. Thanks.
If i launch the correct command with lun 1 i have this error:
tgtadm: invalid request
In syslog:
Jul 10 12:54:03 datastore-lnx001 tgtd: device_mgmt(245) sz:28
params:path=iscsi-image,bstype=rbd
Jul 10 12:54:03 datastore-lnx001 tgtd: tgt_device_create(532) failed to
find bstype, rbd
What's wrong? not supported?
Where did you get your tgtd? Was it built with rbd support (CEPH_RBD
defined
in the environment for make)?
sudo ./tgtadm --lld iscsi --op show --mode system
should tell you.
How did you set up access to ceph.conf?
--
Toni Fuentes Rico
toni.fuentes@xxxxxxxxxxx
Administración de Sistemas
Oficina central: 902 888 345
ACK STORM, S.L.
ISO 9001:2008 (Cert.nº. 536932)
http://ackstorm.es
Este mensaje electrónico contiene información de ACK STORM, S.L. que es privada y confidencial, siendo para el uso exclusivo de la persona(s) o entidades arriba mencionadas. Si usted no es el destinatario señalado, le informamos que cualquier divulgación, copia, distribución o uso de los contenidos está prohibida. Si usted ha recibido este mensaje por error, por favor borre su contenido y comuníquenoslo en la dirección ackstorm@xxxxxxxxxxx
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com