[stgt] setting write cache fails in recent git

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Oct 17 03:18:45 CEST 2008


On Thu, 16 Oct 2008 15:45:16 +0200
Tomasz Chmielewski <mangoo at wpkg.org> wrote:

> > and the equivalent tgtadm command will be something like:
> > tgtadm -- tgtadm --lld $driver --op new --mode logicalunit --tid $next_tid --lun $lun -b $backing_store -E $bstype
> > 
> > btw,
> > what is the "device-type" config option?

It's SCSI device type (SCSI term).


> # tgtadm --op show --mode target|grep Type
>              Type: controller
>              Type: disk
> 
> 
> Other would be tape (not supported), cd, etc.

See disk_type_names in target.c

btw, tape is supported (it not finished yet but it's good enough to
play with it, I guess).
--
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 mailing list