Please sign in to comment.
Allow disabling auto LUN scans
Existing behavior of auto scanning LUNs is problematic for some deployments, particularly in cases where we are: - Accessing different LUNs from the same target on different machines and we don't want the other LUNs automatically exposed in other systems. - LUNs are constantly being created and removed from the target by another machine and we don't want our systems polluted by no longer available logical units, since default udev rules don't remove them automatically from the system once they have been added automatically. This is a little more problematic when working with multipaths as we end up with a lot of leftover device maps. This patches introduces a new configuration option at the session level called "autoscan_en" that allows us to disable the autoscan in the following cases: - On iscsid start - On login - On AEN/AER messages reporting LUNs data has changed. For HW drivers all sessions will use the value defined in the configuration file. Default value for this new option is "Yes" to maintain existing behavior.
- Loading branch information...
Showing with 40 additions and 9 deletions.