Skip to content
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

NAS-129336 / 24.10 / fix installing to nvme boot drives #81

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

yocalebo
Copy link
Contributor

@yocalebo yocalebo commented Jun 1, 2024

The get_partition function is wrong and doesn't consider nvme drives. It ends up returning /dev/nvme0n1n1. This means it is currently impossible to install SCALE on systems with nvme boot drive. I've already written a method in middleware for checking for partitions on disks and it is agnostic to what type of drive it's checking (i.e. sata/sas/nvme) so this copies most of that logic making the necessary changes for the installer.

@yocalebo yocalebo requested a review from a team June 1, 2024 13:38
@bugclerk bugclerk changed the title fix installing to nvme boot drives NAS-129336 / 24.10 / fix installing to nvme boot drives Jun 1, 2024
@bugclerk
Copy link

bugclerk commented Jun 1, 2024

@yocalebo yocalebo force-pushed the NAS-129336 branch 2 times, most recently from c10c736 to 70c7604 Compare June 3, 2024 15:48
@yocalebo yocalebo merged commit 0d8ae1c into master Jun 3, 2024
2 checks passed
@yocalebo yocalebo deleted the NAS-129336 branch June 3, 2024 15:53
@bugclerk
Copy link

bugclerk commented Jun 3, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jun 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants