tgtd crash when adding more than ~20 targets (and a way to reproduce)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tgtd will crash with more than ~20 targets.

To reproduce, start this bash script:

#!/bin/bash

i=1

while [ $i -ne 1024 ] ; do
   echo tgtadm --lld iscsi --op new --mode target --tid 1$i -T iqn.2007-02.com.example:test.break$i
   tgtadm --lld iscsi --op new --mode target --tid 1$i -T iqn.2007-02.com.example:test.break$i
   echo tgtadm --lld iscsi --op new --mode logicalunit --tid 1$i --lun 1 -b /dev/sda
   tgtadm --lld iscsi --op new --mode logicalunit --tid 1$i --lun 1 -b /dev/sda
   [ $? -ne 0 ] && exit
   i=$((i+1))
done



--
Tomasz Chmielewski
http://wpkg.org
--
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

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux