[stgt] questions on using tgt to implement a remote data storage middleware
fujita.tomonori at lab.ntt.co.jp
Sat Sep 5 11:10:45 CEST 2009
On Thu, 3 Sep 2009 10:05:58 +0800
Xiao Da <xiaoda99 at gmail.com> wrote:
> I'm a teacher of Beijing University of Posts and Telecommunications,
> China. Our team are trying to build a remote data storage middleware
> that sits between client and a remote storage device (e.g., an iscsi
> device). To achieve transparency, the middleware acts as a scsi target
> to client and as an initiator to the storage device. In this way, it
> intercepts commands and data to and from the device and performs
> functions such as 1) data encryption before storing to the device to
> provide security; 2) data compression and deduplication to save
> Now I have two questions:
> 1) Can we use tgt to implement such a middleware?
You could, I guess. But I'm not sure SCSI target is the best solution
for such remote data replication.
> 2) If we use a scsi initiator (e.g., iscsi initiator) on the
> middleware to interact with the remote storage device, how should tgt
> integrate with the initiator? I didn't find any relevant code in tgt
> source code. Are there any projects that do the similar thing so that
> we see how they do it?
tgt's iSCSI code runs in user-space. So you can access to the remote
storage device without any tricks.
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt