On Wed, 2020-07-15 at 11:16 -0700, Lee Duncan wrote: > On 7/15/20 12:48 AM, Sadegh Ali wrote: > > Dear sir > > > > we are considering to build SCSI Target system with ZFS filesystem > > backend using Linux > > I searched that two modules are available for Linux SCSI target, > > LIO, and SCST > > but it seems LIO project that streamed to the kernel is not updated > > for a while (about 7 years) > > Is the LIO module project dead? or suspended? > > Is any person or community available to respond to technical > > problems > > and fix bugs or develop new features or support new hardware? > > > > with best regards > > > > > targetcli-fb and friends has replaced the lio-utils for interfacing > with > the LIO subsystem in the kernel. All targetcli-fb really does is make > interacting with LIO much easier. But you could theoretically roll > your > own LIO commands, since the interface is sysfs. Targetcli-fb is in > python, and quite user-friendly IMHO. > > SCST is still around, but I believe it's user-space only. (Forgive me > if > I'm wrong here, but it's been a while since I looked at SCST.) > > I'd suggest using something like btrfs instead of zfs, since btrfs is > getting much better now -- even Debian has taken the hint from SUSE > and > started using it. :) > > Check out the "Kernel Target Devel" list (target-devel at vger). > > Much of the kernel target development recently has been to include > other > non-iSCSI target support IMHO. > > There is also a cool new extension to targetcli called tcmu-runner, > that > allows you to add new functionality to targetcli without having to > hack > on the kernel. > Thanks Lee, I will check it out. The issues I was having are mainly qla2xxx target in the kernel, and I had been working with Marvell to stabilize that in upstream. various lockups and other workqueue relateed issues. It been a while. I will try latest upstream and see if its any better than it was for me a couple years back.