On Fri, 24 Oct 2008 12:29:02 +0200 Tomasz Chmielewski <mangoo at wpkg.org> wrote: > FUJITA Tomonori schrieb: > > (...) > > > > > As I wrote, having scripts/init.d/tgt.example is fine by me as long as > > the example is good. > > > > Anyone has comments on this script? > > > > One comment from me is that with the latest git tree, we can remove > > 'sleep' trick in the start section. > > Hmm, doesn't it work anymore? > > # tgtadm --op show --mode target > tgtadm: can't find the driver Hmm, it works for me: viola:/home/fujita/git# ./tgt/usr/tgtadm --op show --mode target Target 1: iqn.2001-04.com.example:storage.sbc.iris.sys1.xyz System information: Driver: iscsi State: ready I_T nexus information: LUN information: LUN: 0 Type: controller SCSI ID: deadbeaf1:0 SCSI SN: beaf10 Size: 0 MB Online: Yes Removable media: No Backing store: No backing store LUN: 1 Type: disk SCSI ID: deadbeaf1:1 SCSI SN: beaf11 Size: 4295 MB Online: Yes Removable media: No Backing store: /var/tmp/image1 Account information: ACL information: ALL Have you compiled both tgtadm and tgtd with the latest git code? -- 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 |