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

[Feature Request] Make mergerfs.balance be aware of hard links #132

Open
xsm1997 opened this issue Nov 6, 2022 · 1 comment
Open

[Feature Request] Make mergerfs.balance be aware of hard links #132

xsm1997 opened this issue Nov 6, 2022 · 1 comment

Comments

@xsm1997
Copy link

xsm1997 commented Nov 6, 2022

I use hard links frequently. So, it will be awesome for mergerfs.balance to ignore files with multiple links (e.g., hard links), because moving those files to another partition will leads to duplicate space occupy. You can get this property in stat command or function.

You can detect all instances of those files, and move all of them to another partition, of course. But if it is too complicated, you can simply ignore those files.

@erikhubers
Copy link

I just fell into this trap and now duplicated a lot of files. Can we at least put a warning in the documentation so morons like me don't make the mistake of using this tool when also using hardlinks extensively

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

2 participants