SUSE Support

Here When You Need Us

Recommended nvme_core.io_timeout value in Azure

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

Environment

SUSE Linux Enterprise Server
Microsoft Azure Virtual Machines


Situation

What is the recommended value of nvme_core.io_timeout in the Azure cloud?

Resolution

Microsoft Engineering recommends setting nvme_core.io_timeout to 240 seconds.

To add this parameter:

  1. Open the /etc/sysconfig/grub configuration file with an editor
  2. Modify the GRUB_CMDLINE_LINUX_DEFAULT parameter adding nvme_core.io_timeout=240 to the existing string value
  3. Regenerate GRUB2 with the following command:
    # grub2-mkconfig -o /boot/grub2/grub.cfg
  4. Reboot
  5. Check the kernel command line and sysfs to confirm the parameter is set with the following commands:
    # cat /proc/cmdline
    # cat /sys/module/nvme_core/parameters/io_timeout

Status

Reported to Engineering

Additional Information

The default io_timeout parameter value for the nvme-core kernel module is 30 seconds.  In the Azure cloud, the virtualization host considers a timeout of 120 seconds to be an NVMe failure.  Microsoft prefers that the OS not take any action in the event of NVMe failure but to allow the virtualization host to detect and take action on VM recovery.

Please contact Azure support if a newly published image does not have this setting on the kernel command line.

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:000021813
  • Creation Date: 29-Apr-2025
  • Modified Date:01-May-2025
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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