Re: iser not enabled after reboot

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

 



Hi Gavshin,

(Adding Jerome CC')

On Thu, 2015-07-02 at 17:34 +0400, Gavshin Dmitriy wrote:
> Hello
> 
> InfiniBand: Mellanox Technologies MT26428
> 
> Ubuntu 15.04, 3.19.0-21-generic
> targetcli 3.0+git0.7e32595e-2
> 
> I have problem with enabling iser for portal on boot.
> I create target with portal configured on ib0 network interface.Then I
> enable iser for portal, do saveconfig and check - everything working
> fine. But after reboot  iser become disabled (portal status OK, iser
> disabled).
> So i have tom manually enable it again for every target\portal
> Is it any way to enable iser on boot? 
> 

This looks like a regression in v3.0 rtslib code.

Just added a bug for this issue here:

https://github.com/Datera/rtslib/issues/7

A quick work-around is to invoke the following shell code to enable iser
on each iscsi-target endpoint + network-portal, after /etc/init.d/target
start has completed.

root@scsi-mq:~# for i in /sys/kernel/config/target/iscsi/iqn.*/tpgt_* ;
do echo 1 > $i/np/*/iser ; done

Thanks for reporting!

--nab




--
To unsubscribe from this list: send the line "unsubscribe target-devel" 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]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux