Hi Bing,

On Fri, Jun 18, 2010 at 4:26 AM, Bing Zhao - Sun Microsystems
<bing.z...@sun.com> wrote:
> If you add a static-config twice, the iscsiadm will output the "unexpected
> OS error".
>
> bash-3.2# iscsiadm add static-config
> iqn.1986-03.com.sun:02:93893ec6-ec6c-6409-993a-e4bedb506cab.boot,10.13.49.24
> bash-3.2# iscsiadm add static-config
> iqn.1986-03.com.sun:02:93893ec6-ec6c-6409-993a-e4bedb506cab.boot,10.13.49.24
> iscsiadm: unexpected OS error
> iscsiadm: Unable to complete operation

Yes indeed, I know that, I saw the related bug report too.

> Since you run the script in parallel, this case may happen. What will happen
> if we run it not in parallel?

ok, I did some more tests.
- if we don't run it in parallel, I wasn't able to get the same result.
- I decided to run the test with 20 targets in a testA and 20 other
targets in a testB. Then I ran the two tests in parallel: I got the os
error. So it confirm the bug.

For me it doesn't change the thing: even if we run it parallel with
the same targets I'm not supposed to end with a corrupted iscsi
database.
We could probably simplify the test but I didn't found the time for.

> Do you mean that when you disable the mpxio and then enable it, the problem
> doesn't exist any more?

no, I mean that if mpxio-disable="no", I can't reproduce the problem;
and with mpxio-disable="yes", I can.

> You know that the machine should reboot after modifying the iscsi.conf.

yes.
Don't hesitate to ask me some more question if I wasn't clear on some points.

Best regards,

-- 
William
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to