I have a volume mounted like this:
[[mounts]]
source = 'data'
destination = '/data'
initial_size = '10g'
auto_extend_size_threshold = 80
auto_extend_size_increment = "5GB"
snapshot_retention = 1
and expected the volume to extend automatically at 8gb. But for some reason, this does not happen (I’m at 9,463 MB). Even after restarting the machine/app, nothing happens until I am completely out of storage. Am I doing something wrong here?
rubys
August 27, 2024, 8:26pm
2
Try adding a size limit:
committed 11:17PM - 18 Aug 24 UTC
After I added that, it started working for me.
1 Like
Awesome!! This fixed it. Am I reading it wrong or is the documentation wrong then? I understood its optional: App configuration (fly.toml) · Fly Docs
Thank you for the quick help
rubys
August 27, 2024, 8:48pm
4
I’ve created a pull request with my understanding of how it works:
superfly:main
← superfly:auto_extend_size_limit
opened 08:47PM - 27 Aug 24 UTC
See: https://community.fly.io/t/volume-not-automatically-extending/21551
1 Like
system
Closed
September 3, 2024, 8:49pm
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.