Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2012 09:50:46 +0100
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: geli device istgt 
Message-ID:  <op.wm26uwud8527sy@ronaldradial.versatec.local>
In-Reply-To: <9A757AF2CA7F204A8F2444FFC5C27C301CADCD4C@Exchange2010.Skynet.local>
References:  <9A757AF2CA7F204A8F2444FFC5C27C301CADCD4C@Exchange2010.Skynet.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 31 Oct 2012 21:17:25 +0100, Johannes Mäulen <Maeulen@awp-shop.de>  
wrote:

> 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


Can you provide some information about how you setup geli and istg? And  
does the geli partition work locally without istgt?

Ronald.



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