Hello Jerome, Andy, Yes it is the good resolution to destroy the 0.0.0.0 ip address. It is a bad idea to put "Zfs on linux" with targetcli. 44 minutes to mkfile 256MB file on solaris initiator (iscsi) 20 secondes with lvm partition on 1Tb sata II disk with a solaris x86 initiator (iscsi). and 40 secondes to mkfile 780MB. Have a nice day. Pascal ----- Mail original ----- De: "Jerome Martin" <tramjoe.merin@xxxxxxxxx> À: "Andy Grover" <agrover@xxxxxxxxxx>, pviltard@xxxxxxx, target-devel@xxxxxxxxxxxxxxx Envoyé: Lundi 7 Juillet 2014 20:52:45 Objet: Re: Could not create NetworkPortal in configFS On 07/07/2014 07:35 PM, Andy Grover wrote: > The most recent version of targetcli-fb automatically creates a portal > when the tpg is created, listening on all addresses (INADDR_ANY, equal > to 0.0.0.0). If you want to only listen on a specific IP address, remove > the 0.0.0.0 portal and then you can create one just for the specific IP > address. Just to clarify, this is a -fb specific behavior. In the original targetcli codebase, we try to automatically bind the portal to a single IP address, either the only non-RFC1918 IP we can find, or the one that resolves the hostname if we can find it. To me, this feels a little bit safer. Also, it is often more intuitive for the user to see an actual IP address instead of 0.0.0.0 which semantics is not always well understood. However, we now allow manual creation of a 0.0.0.0 portal, in which case the conflicts with existing portals addresses result in the same kind of error message. I guess both fb and main targetcli should clarify this instead of throwing a generic error. On my TODO for the next batch. -- 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