[OpenIndiana-discuss] Limit - 255 iSCSI targets

Geoff Nordli geoffn at gnaa.net
Mon Apr 1 19:01:01 UTC 2013


On 13-03-31 01:20 AM, Mike La Spina wrote:
> The maximum is actually 1024 on the iscsi port end:
>
> xref: /illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/iscsit.h
>
> 55/* Max targets per system */
> 56#define	ISCSIT_MAX_TARGETS	1024
>
> How have you determined it's 255?
>
Hi Mike.

I tested it using a for loop to create > 255

for i in {1..260}; do itadm create-target; done

then it will error out with the:

"Maximum of 255 iSCSI targets
itadm create-target failed with error 7

255 is a bit small, but 1024 would be enough for us; really it ought to 
be enough for anyone :)

Geoff




More information about the OpenIndiana-discuss mailing list