-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
homed: automatic grow/shrink of LUKS home dirs #21253
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
Conversation
|
(this is not ready to be merged yet, still needs docs + more tests) |
|
This pull request introduces 1 alert when merging 0a19583 into d874a13 - view on LGTM.com new alerts:
|
0a19583 to
b0984e0
Compare
b0984e0 to
091daaa
Compare
091daaa to
d0b8a5e
Compare
|
Can some tests covering the new functionality be added? |
456313c to
eea292a
Compare
42cd3fa to
3faef01
Compare
3faef01 to
6e99078
Compare
|
anything left to do here or has it all been merged via split PRs? |
6e99078 to
4347b7a
Compare
Yes. There's one thing still missing from the stuff that got merged: automatic rebalancing of free space between active homes. I have rebase that code now and added the docs, and repushed. Will work on a test case too. Once that's done it's the last thing to review/merge on this topic. |
Got it, thanks |
bcdb81a to
4cc8aad
Compare
|
force pushed a new version, with all raised points addressed. ptal |
bluca
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, needs rebase
Let's add an explicit, synchronous command to request immediate rebalancing and wait for it.
4cc8aad to
6d975fe
Compare
|
rebased |
|
ubuntu CI failed, but its HOMED test suceeded, so we are good. yay! |
hm, the Ubunt CI builds with -Dhomed=false unless I'm mistaken and the HOMED test is a nop |
Shouldn't this return "skipped" instead? |
|
yeah, probably |
This adds a major new feature to homed: automatic resize of home dirs on login, logout and regularly inbetween.
This should make the LUKS backend a lot more friendly to multi-user scenarios as the disk size isn't statically assigned to home dirs anymore, but we can dynamically shrink and grow them whenever needed.