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

SaunaFS Integration with logging tool via NFS Ganesha bad behavior - empty buckets creation #317

Open
Michprac opened this issue Mar 5, 2025 · 2 comments
Labels
bug Something isn't working Priority: High Heavy performance degradation, major bug

Comments

@Michprac
Copy link

Michprac commented Mar 5, 2025

Overview

We attempted to integrate SaunaFS as an archive solution with the logging tool using the NFS Ganesha Client. However, we encountered several issues that led us to abandon SaunaFS in favor of a traditional storage solution.

Issues Identified

  1. Capacity Mismatch

    • The capacity values displayed in the CGI interface differed from those shown in the terminal.
  2. Mounting Failure

    • The SaunaFS storage did not mount automatically to the logging tool when using the mount command.
  3. Behavior at Full Capacity

    • Once SaunaFS reached full capacity, logging tool continued to write empty buckets instead of ceasing logging operations.

Alternative Solution Implemented

Due to these issues, we opted to use a traditional storage approach by deploying a VM and utilizing NFS Ganesha (FSAL_VFS) to export a VFS-based filesystem. Instead of exporting SaunaFS, we exported a local folder via NFS Ganesha.

Results of Alternative Solution

  1. Logging tool correctly stopped writing logs when storage reached full capacity (no empty buckets were written).
  2. The storage mounted automatically when using the mount command.
  3. Capacity values were accurately reflected.

Conclusion

The alternative solution resolved all issues we encountered with SaunaFS. To consider SaunaFS in the future, the following improvements would be necessary:

  • Ensure consistency in capacity reporting between CGI and terminal.
  • Implement correct behavior when storage reaches full capacity, preventing unnecessary writes of empty buckets.
@uristdwarf
Copy link
Collaborator

What was the filesystem you used for the local folder you exported through NFS Ganesha?

@uristdwarf uristdwarf added bug Something isn't working question Further information is requested Priority: High Heavy performance degradation, major bug and removed question Further information is requested labels Mar 5, 2025
@Michprac
Copy link
Author

Michprac commented Mar 5, 2025

The filesystem used for the local folder exported through NFS Ganesha was ext4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: High Heavy performance degradation, major bug
Projects
None yet
Development

No branches or pull requests

2 participants