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

Determine root filesistem device and partition before running growpart #20

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

ml0renz0
Copy link

Already merged on kubespray: kubernetes-sigs#8024

What type of PR is this?
/kind bug

What this PR does / why we need it:
When running on Azure it determines root filesystem device and partition to run growpart instead of assuming it will always be /dev/sda1

Which issue(s) this PR fixes:

Fixes kubernetes-sigs#7958

Special notes for your reviewer: We use terraform to deploy Azure environments with several disks on each VM. It often happens that a device other than /dev/sda1 is the root filesystem device on several VMs, maybe due to race conditions when deploying Azure disks and attaching them to VMs.

Does this PR introduce a user-facing change?:

Determine root filesistem device and partition before running growpart (allowing to not always be sda1)

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