Skip to contentSkip to conversation

new version of stgt pushed to ceph-extras

DISCUSSION Dan Mick 1 participant 1 message Nov 5, 2013

lore
Share & tools
lore

Dan Mick

author
#0 lore raw

Hey, all, we just refreshed stgt to its latest released version (1.0.41), and I also tweaked the rbd backend to be a little more flexible and useful.

stgt is a userspace iSCSI target implementation (using tgtd) that can export several types of storage entities as iSCSI LUNs; backends include files in synchronous or asynchronous mode, "passthrough" to real SCSI devices, tape-device emulation on a file, sheepdog block images, and Ceph RBD images.

New bs_rbd features include:

* fixed up tgt-admin to work with rbd images (so .conf files work)

* no more 20-rbd-image-per-tgtd limit

* tgtadm accepts --bsopts for each image
conf= to set path to ceph.conf file
id= to set clientid

This means that each image can have different logging and access rights, or even refer to a different cluster.

The stgt source has also been refactored so that packagers can build with or without bs_rbd, now built into an .so, and distribute that module separately if desired; thus the base package doesn't require Ceph libraries librbd and librados.

The source is available upstream at http://github.com/fujita/stgt.
Packages are built and available in the ceph-extras repository at http://ceph.com/packages/ceph-extras/.

Enjoy!

Signature · 3 lines
Dan Mick, Filesystem Engineering
Inktank Storage, Inc.	http://inktank.com
Ceph docs: http://ceph.com/docs