On Wed, 25 Nov 2009 16:21:11 +0100 Albert Pauw <albert.pauw@xxxxxxxxx> wrote: > Here's what I did: > > - pulled latest git version > - added your patch > - replaced tgt-admin with the latest from Tomasz > - compiled and installed. > > Made sure the proper /etc/tgt/targets.conf was setup. > Started tgt (service iscsi-target start) logged in with open-iscsi, and > checked with tgt-admin -s: > > Target 1: iqn.2008-09.com.example:server.tape > System information: > Driver: iscsi > State: ready > I_T nexus information: > I_T nexus: 1 > Initiator: iqn.1994-05.com.fedora:d2b0d1c11efb > Connection: 0 > IP Address: 127.0.0.1 > LUN information: > LUN: 0 > Type: controller > SCSI ID: IET 00010000 > SCSI SN: beaf10 > Size: 0 MB > Online: Yes > Removable media: No > Backing store type: rdwr > Backing store path: None > LUN: 1 > Type: tape > SCSI ID: HP LTO3 ULTRIUM > SCSI SN: HUM1A00001 > Size: 0 MB > Online: Yes > Removable media: Yes > Backing store type: ssc > Backing store path: /root/btapes/notape1 > LUN: 2 > Type: tape > SCSI ID: HP LTO3 ULTRIUM > SCSI SN: HUM1A00002 > Size: 0 MB > Online: Yes > Removable media: Yes > Backing store type: ssc > Backing store path: /root/btapes/notape2 > LUN: 3 > Type: tape > SCSI ID: HP LTO3 ULTRIUM > SCSI SN: HUM1A00003 > Size: 0 MB > Online: Yes > Removable media: Yes > Backing store type: ssc > Backing store path: /root/btapes/notape3 > LUN: 4 > Type: changer > SCSI ID: IET 00010004 > SCSI SN: 123:456:789:000 > Size: 0 MB > Online: Yes > Removable media: Yes > Backing store type: rdwr > Backing store path: /root/smc > Account information: > ACL information: > ALL > [root@orange tgt]# lsscsi > [0:0:0:0] disk ATA TOSHIBA MK6026GA PA20 /dev/sda > [1:0:0:0] cd/dvd MATSHITA DVD-RAM UJ-841S 1.20 /dev/sr0 > [2:0:0:0] storage IET Controller 0001 - > [2:0:0:1] tape HP LTO3 ULTRIUM 0001 /dev/st0 > [2:0:0:2] tape HP LTO3 ULTRIUM 0001 /dev/st1 > [2:0:0:3] tape HP LTO3 ULTRIUM 0001 /dev/st2 > [2:0:0:4] mediumx STK L700 0001 /dev/sch0 > > All ok. Checked one tape drive: > > > lsscsi: > > [root@orange tgt]# mt -f /dev/nst0 status > SCSI 2 tape drive: > File number=0, block number=0, partition=0. > Tape block size 0 bytes. Density code 0x0 (default). > Soft error count since last status=0 > General status bits on (41010000): > BOT ONLINE IM_REP_EN > > Also ok. > > Now I used mtx -f /dev/changer status. > > Result, same as seen previously, one tgtd dies off, iscsi tries to login > again and again. > > What do you want me to check more? Please send a log file including tgt's debug message (as you did in 2009/10/28). -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html