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

Is it possible to mount only files which more than specific size.. In my case I want mount the files which is greater than 52B #1295

Open
arulkumaran456 opened this issue Dec 1, 2023 · 3 comments · May be fixed by #1435

Comments

@arulkumaran456
Copy link

Which version of blobfuse was used?

blobfuse version 2.0.5

Which OS distribution and version are you using?

RHEL7

If relevant, please share your mount command.

What was the issue encountered?

Have you found a mitigation/solution?

Please share logs if available.

@vibhansa-msft
Copy link
Member

@arulkumaran456 interesting query. We support only mounting a container as of now. The only workaround I can think here is to move all such files to a different folder and mount that folder instead of container. Mounting a file does not make sense as that would be more like just read/write to a file and no other file system operation that you can execute. Directory mount is supported though.

@arulkumaran456
Copy link
Author

In feature release - Is it possible to provide the file size option in config file

@vibhansa-msft
Copy link
Member

Meaning you want to see only files that exceed a certain configured value?
This kind of specialization we cannot take it up as of now. We are packed for this semester already. But I can add this to our backlog, and we can take up this item sometime later may be.
Backend does not return list of files based on size or any other properties, so this will add more processing cost to blobfuse to filter such files out. This means there will be extra CPU usage on host to filter this every time we do a listing operation. If its urgent for you, feel free to clone the repo and contribute these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants