Image files

An image file is an on-disk snapshot of a volume. Because volume contents are volatile, an image is how you persist them across dismount and shutdown.

Load and save

Creating a volume with an existing image path loads its contents at mount. Saving a volume writes its contents to the image and binds the volume to it. Once bound, subsequent saves are differential: only regions changed since the last save are written, at 2 MB granularity. This keeps saves fast and minimises SSD writes.

Save triggers

  • Manual. Save on demand.
  • Periodic. Every N minutes, set in a volume's Advanced options.
  • Shutdown and dismount. Optional auto-save when the system shuts down and when the volume is dismounted.

Auto-mount

A configured image-backed volume can mount at boot with its contents loaded, independent of the application. Combined with auto-save, a persistent volume reloads at boot and saves itself as you work.

Format properties

  • Crash-safe. Writes use an A/B generation scheme; an interrupted save never corrupts the image, and the previous generation always remains loadable.
  • Checksummed. A per-region hash detects on-disk corruption at load.
  • Sparse. Only used regions occupy disk; freed regions are punched.
  • Compressed verbatim. Compressed regions are stored in compressed form, so images stay small.

Location constraints

The image must reside on a local disk. It cannot be placed on a RAM FS volume (recursive) or on a network path.

Typical setup

For a persistent work volume: create it bound to an image on a local disk, enable auto-save at shutdown, and enable mount at startup. It loads at boot, runs at memory speed, and persists automatically.