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

Shrink filesystem #268

Open
hockdudu opened this issue May 16, 2024 · 2 comments
Open

Shrink filesystem #268

hockdudu opened this issue May 16, 2024 · 2 comments

Comments

@hockdudu
Copy link

I've seen the documentation states that shrinking isn't supported1, but I couldn't find any issue tracking this feature (is it planned?), so I'm creating this issue here.

Is this a limitation on bcachefs itself, or only on the userspace tools?

Footnotes

  1. https://bcachefs-docs.readthedocs.io/en/latest/mgmt-fsresize.html

@phedders
Copy link

+1 very much looking forward to this being possible. (Sign of a grown up FS for me, looking at you XFS... )

@matthiasgoergens
Copy link

The problem is that shrinking needs to move data around on disk, while extending just needs a change to the metadata.

From what I can tell, shrinking is definitely possible, it's just a lot of work to implement.

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

No branches or pull requests

3 participants