Cant create a volume for the entire filesystem?

I created a volume at root directory / and attached it to a ubuntu image I spun with fly machine run, with sleep infinity.

I ssh into console and downloaded some packages and then stopped the vm and then started again but the downloaded files were missing?

Just checking I’ve understood you, you had:

[mounts]
   ...
   destination = "/"

in your fly.toml?

You can’t mount to / because that’s used by the root file system. Instead, I’d suggest mounting to somewhere like /data.

The fly.toml docs have some more info.

Yes that makes sense. You can’t create it at /.

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