Skip to content

Conversation

@fmoehler
Copy link

@fmoehler fmoehler commented Dec 9, 2025

This change fixes cloudfoundry/bosh-deployment#486 .

On noble the command output changed compared to jammy.
Jammy

bosh-validation-deployment/97ccc0a4-5deb-4ba5-abf4-56dcb6108496:~# /usr/sbin/nvme id-ctrl -v "/dev/nvme1n1" | sed -n -E '/0000:/s/.*"([^.]+).*".*/\1/p'
sdb

Noble

bosh-validation-deployment/97ccc0a4-5deb-4ba5-abf4-56dcb6108496:~# /usr/sbin/nvme id-ctrl -v "/dev/nvme1n1" | sed -n -E '/0000:/s/.*"([^.]+).*".*/\1/p'

This change is also documented here:
https://manpages.ubuntu.com/manpages/jammy/man1/nvme-id-ctrl.1.html vs https://manpages.ubuntu.com/manpages/noble/man1/nvme-id-ctrl.1.html

Testing this on noble works succesfully:

bosh-validation-deployment/97ccc0a4-5deb-4ba5-abf4-56dcb6108496:~# /usr/sbin/nvme id-ctrl -V "/dev/nvme1n1" | sed -n -E '/0000:/s/.*"([^.]+).*".*/\1/p'
sdb

@fmoehler fmoehler changed the title Update nvme-id Fix output of nvme id-ctrl to show vendor-specific fields for noble Dec 9, 2025
@fmoehler fmoehler changed the title Fix output of nvme id-ctrl to show vendor-specific fields for noble Fix output of "nvme id-ctrl" to show vendor-specific fields for noble Dec 9, 2025
@fmoehler fmoehler requested review from a team, KauzClay and ragaskar and removed request for a team December 9, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant