Workspace mounts
Mount a machine’s workspace on your own workstation to use your local editor, IDE, or search tools directly on its files. Mounting requires an enrolled device, project access, and an S3 or R2 workspaces store (node-local stores cannot be mounted remotely). Linux mounts over FUSE; macOS mounts over loopback NFS.
Read a snapshot
Section titled “Read a snapshot”Create an empty mount directory outside /Volumes and mount the latest committed snapshot (or pass
--snapshot <fs_id> for an earlier one):
mkdir -p ~/anastro-workspaceanastroctl cluster fs mount <machine> ~/anastro-workspaceanastroctl cluster fs mount <machine> ~/anastro-workspace --snapshot <fs_id>The snapshot must be Portable (already uploaded to object storage). Read-only mounts don’t
interrupt the machine—it can keep running while you browse. Leave the command running and press
Ctrl-C to unmount. If your project access or grant is revoked, access stops immediately.
Edit a workspace locally
Section titled “Edit a workspace locally”Taking writable ownership requires project editor access and explicit confirmation using the
machine’s UUID (even if you name the machine):
anastroctl machine get <machine>anastroctl cluster fs mount <machine> ~/anastro-workspace \ --write --confirm 'take over <machine UUID>'Anastro stops the machine, waits for its previous host to finish uploading its final checkpoint, and gives your workstation exclusive ownership of the branch. While mounted writable, the machine cannot resume or move.
When you’re done, close any programs holding files open in the mount directory and press Ctrl-C.
anastroctl unmounts cleanly, takes a final checkpoint, uploads it, and releases ownership. The
machine stays stopped until you run anastroctl machine resume <machine> or use it again.
Recover an interrupted mount
Section titled “Recover an interrupted mount”If your laptop loses power, disconnects, or fails to unmount cleanly while holding a writable mount:
- Don’t delete
~/.cache/anastro/dwfs. That directory holds the local journal and data packs needed to finish uploading your edits. - If
Ctrl-Cfails to unmount because a program still has files open,anastroctlkeeps the writer alive—close those programs and pressCtrl-Cagain. - After a crash, re-run the writable mount command on the same workstation and let recovery finish uploading before resuming the machine. Recovery guards prevent cleanup or another host from discarding your unuploaded edits in the meantime.
- Machines: inspect, diff, and pin snapshots.
- Object storage: checkpoint durability and garbage collection.