Block size related errors on hardware with Emulex cards

This document (7014499) is provided subject to the disclaimer at the end of this document.

Environment


SUSE Linux Enterprise Server 11 Service Pack 1 (SLES 11 SP1)
SUSE Linux Enterprise Server 11 Service Pack 2 (SLES 11 SP2)
SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)

Situation

On SLES11 SP1, SP2 and SP3, when trying to use Symantec backup software with the previously used block size of 512k an error was observed:-

              Cannot read: Device or resource busy

This could be duplicated easily using 'tar' with the parameter '-b 1024'  (which equals a block size of 512k).

Resolution

The problem was identified as occurring due to an interaction between the 'st' tape driver and the Emulex 'lpfc' driver.

In later versions of the Emulex driver, a parameter, 'lpfc_sg_seg_cnt' is exposed and by default is set 'too low'.

By changing this value from the default of 64, to a value of 128 or 256, the issue with 512k block sizes is resolved.

On SLES11 SP3, this is accomplished by the following steps:-

   Create a file /etc/modprobe.d/lpfc.conf and add to this file:  
   options lpfc lpfc_sg_seg_cnt=256
   Run 'mkinitrd' to generate a new initrd that will include this lpfc parameter change.
   Reboot the server.

To view the current setting of the lpfc_sg_seg_cnt parameter use the command 'systool -v -m lpfc'.


Cause

Emulex  lpfc_sg_seg_cnt parameter set too low.

Additional Information

There are suggestions that increasing the value of the 'lpfc_sg_seg_cnt' parameter may also provide a noticeable performance increase in the throughput of the Emulex cards. 

This problem is not known to occur on SLES11 with no service pack.

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:7014499
  • Creation Date: 03-Feb-2014
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center