On 02/13/17 07:07, Gorka Eguileor wrote:
While working on Cinder, the block storage service in OpenStack, I
noticed that the autoscan mechanism in iscsid is creating issues for us
and I would like to popose a mechanism to make it optional.
The problem for OpenStack deployment comes from the automatic scan of
targets at startup, login, and AEN/AER reception.
These are clearly great for normal use cases, but in our situation we
may have very lively targets that are constantly changing exposed LUNs,
and the autoscan mechanism is just polluting our systems with paths that
are being removed, because we have multiple systems accessing different
LUNs in the same target while they are being removed. More details of
the issues can be found in this post [1].
My proposal is adding a new configuration option to the sessions, called
"autoscan_en", that allows us to disable the autoscan mechanism.
I have submitted the patch via pull request [2], and I don't know if
this is an acceptable approach in the eyes of the community, so any
guidance will be greatly appreciated.
Why to make the iSCSI autoscan mechanism optional? That will make the
iSCSI initiator more complicated. Recent kernel versions generate
uevents upon reception of a SCSI sense code. How about using that
mechanism as a trigger for a rescan for users who want automatic
rescanning of LUNs?
Bart.
Western Digital Corporation (and its subsidiaries) E-mail Confidentiality Notice
& Disclaimer:
This e-mail and any files transmitted with it may contain confidential or
legally privileged information of WDC and/or its affiliates, and are intended
solely for the use of the individual or entity to which they are addressed. If
you are not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is prohibited. If
you have received this e-mail in error, please notify the sender immediately
and delete the e-mail in its entirety from your system.
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.