fly m update MACHINE_ID -v vol_ID:/app/data:size=3
Error is:
Searching for image 'registry.fly.io/agent-hq-python:deployment-REDACTED' remotely...
Error You hit a Fly API error with request ID: 01GR6QH0C0GD4Z5NVDXWG2FFPX-chi
Cloning machine 9080552f653268 into region ord
Provisioning a new machine with image registry.fly.io/agent-hq-python:deployment-01GR6M4942T1GR08RQR84F9PDE...
Machine 4d89660b6e7ed8 has been created...
Waiting for machine 4d89660b6e7ed8 to start...
No health checks found
Machine has been successfully cloned!
So you’re right that fly m update won’t mount the volume. We have a known issue on that, but it’s possible that update isn’t the right place for any sort of volume mounting activity. This UX is in flux!
fly m clone with --attach-volume should mount the existing volume if it says it succeeded. If you do fly m list you should see whether there’s a volume associated with each machine.
You can see the machine’s JSON-formatted config with fly m status <machine-id> -d. Make sure you’re looking at the new machine, not the original! If the config has been updated properly, there should be a "mounts" section in there with a volume id matching the one you specified.
Thanks, I was curious about all that; I think we may have some missing links in fly m clone.
Now for maybe the good news: if you just want to create a machine with a volume attached, you can mount an existing volume on a newly created Machine using fly m run.
show you creating the machine in region yyz which is confusing. I think I was having issues because the volume and the machines were not in the same region.