[Stgt-devel] [PATCH 4/4] OSD command parser

FUJITA Tomonori fujita.tomonori
Mon Mar 5 01:50:02 CET 2007


From: Pete Wyckoff <pw at osc.edu>
Subject: Re: [Stgt-devel] [PATCH 4/4] OSD command parser
Date: Sun, 4 Mar 2007 16:58:00 -0500

> > Pete, I found that you don't put a license in osd.c. GPL2 or GPL2 or
> > any later version? Let me know. I'll update and merge it.
> 
> Great!  Thanks for doing all this.  It will take me some time for me
> to catch up and see how things are integrated now.
> 
> Please add license GPL2 exact.  I forgot.

Done.

You can do something like that:

tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2001-04.com.example:storage.disk2.tulip.sys1.xyz  --target-type osd
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 0 -b /dev/sdb
tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL

tulip:/home/fujita# ./tgt/usr/tgtadm --op show --mode target
Target 1: iqn.2001-04.com.example:storage.disk2.tulip.sys1.xyz
    System information:
        Type: osd
        Driver: iscsi
        Status: running
    I_T nexus information:
    LUN information:
        LUN: 0
            SCSI ID: deadbeaf1:0
            SCSI SN:
            Size: 279G
            Backing store: /dev/sdb
    Account information:
    ACL information:
        ALL


It doesn't work at all. Currently, it only shows that we will support
osd someday. ;)



More information about the stgt mailing list