iSCSI Portal configuration before NIC configuration?

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

 



I've been doing a lot of testing using Fedora 16 (3.2.2 kernel) iSCSI
target, and have run into an issue getting my configuration restored at
boot.

There is a systemd unit file that runs this command during bootup:

/usr/bin/targetcli restoreconfig clear_existing=true

When that command runs, the network interface hasn't yet been configured
with an IP address.

The problem is that the portal configuration setting doesn't get
restored. Note that I'm not using '0.0.0.0', I'm using explicit defined
IPs.

In dmesg I see the error:

kernel_bind() failed: -99

Can LIO be fixed so that the portal configuration can be restored even
though the IP configuration hasn't happened yet?

This is the last remaining unresolved issue that I've uncovered during
testing.

For reference the others problems I encountered were:

* CDBs with data > 1 page
* TargetAddress in SendTargets when bound to INADDR_ANY
* A whole bunch of bugs with targetcli's "restoreconfig"

Have the first two fixes been pushed into mainline yet?

Dax Kelson

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