geli device istgt

Johannes Mäulen Maeulen at awp-shop.de
Wed Oct 31 20:24:11 UTC 2012


Hi there,
I'm new here, "Hello" :). Hopefully it's the right mailing list...
I've setup a Freebsd 9.0-RELEASE machine to handle my storage devices.
I'd like to "share" encrypted partitions via iscsi. But, I'd like to take the encryption take place on the iscsi-target(-machine). The machine is equipped with a aes-ni capable cpu, which I'd like to use. I set up a geli device, but whenever I try to use it as target I get errors like:

/usr/local/etc/rc.d/istgt start
Starting istgt.
istgt version 0.5 (20121028)
normal mode
using kqueue
using host atomic
LU1 HDD UNIT
LU1: LUN0 file=/dev/da0p1.eli, size=1499976953856
LU1: LUN0 2929642488 blocks, 512 bytes/block
istgt_lu_disk.c: 330:istgt_lu_disk_allocate_raw: ***ERROR*** lu_disk_read() failed
istgt_lu_disk.c: 650:istgt_lu_disk_init: ***ERROR*** LU1: LUN0: allocate error
istgt_lu.c:2091:istgt_lu_init_unit: ***ERROR*** LU1: lu_disk_init() failed
istgt_lu.c:2166:istgt_lu_init: ***ERROR*** LU1: lu_init_unit() failed
istgt.c:2799:main: ***ERROR*** istgt_lu_init() failed
/usr/local/etc/rc.d/istgt: WARNING: failed to start istgt

Could somebody help me with that?
If I try to start istgt with an unencrypted partition everything works as expected.

Kind regards

Johannes


More information about the freebsd-fs mailing list