Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2012 20:17:25 +0000
From:      =?iso-8859-1?Q?Johannes_M=E4ulen?= <Maeulen@awp-shop.de>
To:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   geli device istgt 
Message-ID:  <9A757AF2CA7F204A8F2444FFC5C27C301CADCD4C@Exchange2010.Skynet.local>

next in thread | raw e-mail | index | archive | help
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 t=
he encryption take place on the iscsi-target(-machine). The machine is equi=
pped with a aes-ni capable cpu, which I'd like to use. I set up a geli devi=
ce, 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=3D/dev/da0p1.eli, size=3D1499976953856
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 er=
ror
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 e=
xpected.

Kind regards

Johannes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A757AF2CA7F204A8F2444FFC5C27C301CADCD4C>