Repository navigation
fix: add azure nvme udev rules - #1753
Merged
Merged
Conversation
frezbo
reviewed
Nov 17, 2026
On Azure VM sizes exposing remote disks over NVMe (MSFT NVMe Accelerator v1.0, v6 and v7 flavors), the Azure Disk CSI driver finds data disks through /dev/disk/azure/data/by-lun/<lun>, created by the azure-vm-utils udev rules: every volume mount failed with 'failed to find disk on lun'. Add the remote NVMe part of these rules, with the rule repeated for the 64 LUNs instead of computing nsid - 2 with /bin/sh, not available on Talos, and raise the I/O timeout of these disks to 240s like upstream. Fixes #1752 Signed-off-by: GitBluub <louis.auzuret@gmail.com> Signed-off-by: Noel Georgi <git@frezbo.dev>
frezbo
force-pushed
the
feat/azure-nvme-udev-rules
branch
from
November 18, 2026 14:45
642bbc5 to
68f3256
Compare
frezbo
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1752
Adds the remote NVMe part of the azure-vm-utils udev rules to systemd-udevd/files/66-azure.rules, so /dev/disk/azure/os and /dev/disk/azure/data/by-lun/ exist on MSFT NVMe Accelerator v1.0 disks (v6 and v7 flavors), and raises their queue/io_timeout to 240s like upstream. Basically copied the missing rules and more info of these rules is available in the issue.
The only difference with upstream is the LUN rule repeated for the 64 LUNs instead of computing nsid - 2 with /bin/sh, since it is not available on Talos. The cloud-init SCSI rules are unchanged, they now share the same ACTION/SUBSYSTEM filter as in azure-vm-utils.
Repeated 64 times because this is the max data disk attachment possible on azure VMs, if you have a better id to replace the /bin/sh to make a -2 its welcomed :D
Tested on Talos v1.14.5:
Tested both PVCs with azuredisk-csi 1.36.3