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

My sanoid.conf is not being recognized. #908

Closed
d-tork opened this issue Apr 17, 2024 · 1 comment
Closed

My sanoid.conf is not being recognized. #908

d-tork opened this issue Apr 17, 2024 · 1 comment
Labels

Comments

@d-tork
Copy link

d-tork commented Apr 17, 2024

I created my config file to be much less active than the defaults:

[cistern/backup]
        use_template = daily

[cistern/iso]
        use_template = rare

[cistern/media]
        use_template = daily

#############################
# templates below this line #
#############################
[template_daily]
        daily = 7
        monthly = 1
        autosnap = yes
        autoprune = yes

[template_rare]
        monthly = 1
        autosnap = yes
        autoprune = yes

But I still have about 40 hourly snapshots of each dataset, and 250 in total, which indicates that sanoid is still running the default config. The permissions on /etc/sanoid/sanoid.conf are the same as the defaults:

-rw-r--r-- 1 root root  584 Apr 15 13:10 sanoid.conf
-rw-r--r-- 1 root root 4685 Jul 18  2023 sanoid.defaults.conf

I am also using the systemd timer. It just occurred to me as I was writing this to try restarting the sanoid.service, but I don't think I will know if it worked until 15 minutes from now. I never saw anything about it in the documentation, so I doubt this will solve the problem. Any other ideas?

@phreaker0
Copy link
Collaborator

phreaker0 commented Apr 17, 2024

Not a sanoid issue. You didn't specify and hourly value therefore the defaults are used from the default file.

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

No branches or pull requests

2 participants