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

[release-1.37] Recreate missing backingFsBlockDev on setting xfs project quota #1437

Conversation

saschagrunert
Copy link
Member

@saschagrunert saschagrunert commented Nov 22, 2022

Cherry-pick of aa0d394 into release-1.37 for CRI-O 1.24/23.

@saschagrunert saschagrunert changed the title Recreate missing backingFsBlockDev on setting xfs project quota [release-1.37] Recreate missing backingFsBlockDev on setting xfs project quota Nov 22, 2022
There is the rare case that something removed the backingFsBlockDev,
which usually points to
`/var/lib/containers/storage/overlay/backingFsBlockDev`. In that case,
all `SetQuota` operations would fail on overlay layer creation.

We now work around that error by recreating the backingFsBlockDev.

Cherry-picked: aa0d394
Signed-off-by: Sascha Grunert <[email protected]>
@saschagrunert saschagrunert force-pushed the release-1.37-recreate-backingFsBlockDev branch from 9f88d7c to 5cac318 Compare November 22, 2022 15:03
@saschagrunert
Copy link
Member Author

@containers/storage-maintainers PTAL

@rhatdan
Copy link
Member

rhatdan commented Nov 22, 2022

LGTM

@rhatdan rhatdan merged commit f2dcb18 into containers:release-1.37 Nov 22, 2022
@saschagrunert saschagrunert deleted the release-1.37-recreate-backingFsBlockDev branch November 22, 2022 16:20
@saschagrunert
Copy link
Member Author

@rhatdan may I get a new tag on that branch?

@rhatdan
Copy link
Member

rhatdan commented Nov 22, 2022

@saschagrunert
Copy link
Member Author

Thank you!

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