Skip to content

fix: accurately determine disk mount for upgrade disk xvdp #1740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 8, 2025

Conversation

tomashley
Copy link
Contributor

@tomashley tomashley commented Aug 8, 2025

  • chore: install amazon-ec2-utils for ebs nvme mapping tool
  • fix: accurately determine disk mount for upgrade disk xvdp

During an upgrade, the future data disk is mounted for the data upgrade.
It's observed that since upgrading the base image to ubuntu 24.04 there are occurrences
where the disks are available earlier and assigned inconsistent block device names

Here we install amazon-ec2-utils to give us the ebsnvme-id utility that reads the nvme block devices
and determines their ec2 device name that maps to the nvme device name.

  • xvda -> root disk
  • xvdh -> data disk
  • xvdp -> upgrade data disk

Fallback to current implementation when ebsnvme-id is not correctly installed

@tomashley tomashley requested review from a team as code owners August 8, 2025 08:41
@tomashley tomashley merged commit 2262dde into develop Aug 8, 2025
13 of 14 checks passed
@tomashley tomashley deleted the tom/upgrade/nvme-mappings branch August 8, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants