allow_lun_scan parameter default is set to 'on' on SLES12
This document (7017192) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
Situation
Instead of having a user-maintained "whitelist" of fibrechannel/scsi disks that are brought online to the guest, the system now polls all the targets on a fabric.
It is a helpful change on systems with hundreds of zfcp disks and exclusive zoning but is rather impractical for systems with just a few disks and an open fabric.
The result of this can be slow boots or access to inappropriate disks in some configurations. It also can lead to administrative difficulties offlining and removing disks if auto-scan is enabled.
Resolution
"zfcp.allow_lun_scan" to '0', 'n' or 'N'.
The preferred method to add or change the kernel parameters is by using the YaST Boot Loader Configuration:
YaST - System: Boot Loader. Select "Kernel Parameters" and add "zfcp.allow_lun_scan=0" at the end of the "Optional Kernel Command Line Parameter".
Please note:
When the LUN scanning is disabled, all LUNs must be configured through unit_add in sysfs.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7017192
- Creation Date: 26-Jan-2016
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com