Re: Targetcli iSCSI settings not persisting

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

 



On Sat, 2014-02-22 at 23:33 -0800, Nicholas A. Bellinger wrote:
> On Fri, 2014-02-21 at 21:10 +0000, Myles Gray wrote:
> > Testing targetcli on Ubuntu here, any settings I add to targetcli for
> > iSCSI (just created a blank install of ubuntu and installed only
> > targetcli with aptitude).
> > 
> > Simply did:
> > 
> > iscsi/ create
> > backstores/fileio/ create name=test file_or_dev=/tmp/test size=1G
> > 
> > It created the wwn, fileio store etc, looked good, persisted the
> > config with “saveconfig” it output all the necessary .sh files.
> > 
> 
> This is a known bug with lio_dump.  If a /iscsi/$IQN is created without
> any LUNs, the $IQN is not persisted with saveconfig.
> 
> So with existing code you'll need to attach at least a single LUN to the
> $IQN before saveconfig.
> 

Also FYI, creating one or more network portals on /iscsi/$IQN will have
the same effect as well.

--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