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

Change sanoid_check.sh to take into account recursivity #306

Closed
alexgarel opened this issue Feb 8, 2024 · 1 comment
Closed

Change sanoid_check.sh to take into account recursivity #306

alexgarel opened this issue Feb 8, 2024 · 1 comment

Comments

@alexgarel
Copy link
Member

sanoid_check.sh is a bit naive in parsing sanoid.conf and can't account for recursive=true, while I know use it a lot, because it's less error prone.

I propose to change in this way:

  • in sanoid.conf we add a comment line to tell which ZFS are not snapshoted regularly (not handled by sanoid)
  • in sanoid_check.sh we check every ZFS but the exceptions

Overall, it will be much more robust.

@alexgarel
Copy link
Member Author

I re-open until it's also deployed to off1 and off2

@alexgarel alexgarel reopened this Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant