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-130084 / 24.10 / try to help partition detection #88

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

yocalebo
Copy link
Contributor

We're still seeing, albeit not as often, VMs fail the install because our installer states it can't find the partitioned block devices. To try and alleviate this, I've added a simple with open(dev, 'w'): pass line to this function. This kicks off kernel and udev change events so, in theory, this should help bubble up the events through the kernel so the various symlinks get created in sysfs. We do this before waiting on the partitions to exist to try and jump start the process.

@yocalebo yocalebo added the jira label Jul 17, 2024
@yocalebo yocalebo requested a review from a team July 17, 2024 14:54
@bugclerk bugclerk changed the title try to help partition detection NAS-130084 / 24.10 / try to help partition detection Jul 17, 2024
@bugclerk
Copy link

1 similar comment
@bugclerk
Copy link

@yocalebo yocalebo merged commit 3483407 into master Jul 17, 2024
2 checks passed
@yocalebo yocalebo deleted the more-partition-fixes branch July 17, 2024 15:16
@bugclerk
Copy link

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 Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants