On 02/03/2012 10:14 PM, Dax Kelson wrote: > 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? beside fixing the start order of your system services ... # echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind ... should also do the trick. Regards, Andreas > > 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
Attachment:
signature.asc
Description: OpenPGP digital signature