Volume not automatically extending

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?

Try adding a size limit:

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 :slight_smile:

I’ve created a pull request with my understanding of how it works:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.