In this article
Define the complete model recovery set and publisher boundary; a stable filesystem snapshot alone does not establish a coherent application revision.
A filesystem snapshot mounts successfully, but its model manifest points to a revision whose files are absent or incomplete. Filesystem consistency and application publication consistency are different properties. Establish the accepted immutable revision and the storage volumes that contain its dependencies before treating a snapshot as a restorable model-serving state.
Define the recovery set
Inventory the manifest, weights, tokenizer state and local overrides required by the intended loader. Record which filesystem or volume contains each dependency. A snapshot of one device cannot capture mutable data on another merely because a pathname links to it. Remote object references need their own retained identity and availability contract, separate from the local snapshot’s point in time.
Coordinate publisher state
Choose an application boundary at which the accepted revision is complete and publication decisions are stable. Pausing filesystem modifications does not flush arbitrary userspace buffers or make an unfinished logical update coherent. Coordinate publishers and cleanup processes so the snapshot cannot capture a new pointer without its intended dependencies. Preserve the selected revision identity independently of whatever mutable alias exists after the snapshot operation.
Understand filesystem freezing
The freeze documentation describes completing ongoing filesystem transactions, writing dirty state and blocking new modifications until thaw. That provides a filesystem boundary under supported behavior, not a model-application transaction. Snapshot implementations can coordinate freezing themselves, so blindly adding another freeze can be inappropriate. Qualification belongs to the actual filesystem and snapshot stack; this guide does not call for freezing a live serving mount during diagnosis.
Retain snapshot capacity and scope
Device-mapper snapshot documentation distinguishes origin and copy-on-write storage and explains that exhausting the latter can invalidate the snapshot. Preserve actual snapshot status and capacity through its retention period. A successful creation event alone does not establish a continuously usable backup. Also distinguish crash-durability requirements from runtime visibility when deciding what the publisher must complete before the chosen snapshot boundary.
Restore and validate the model set
In an isolated restore, verify the accepted manifest, referenced file integrity and effective loader configuration before testing a representative response. Record unsupported or missing dependencies explicitly. A useful result establishes recovery of one coherent revision under declared conditions. It does not guarantee replay of in-flight inference requests, preservation of external mutable services or correctness of every future model update from the fact that one filesystem image mounted successfully.
Primary references
util-linux Filesystem Freeze Semantics.
Linux Device-Mapper Snapshot Boundaries.
Linux File and Directory Synchronization.
Related reading: Keep tokenizer vocabulary, special tokens and chat templates in one release; Init container downloads an artifact again: making preparation idempotent.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.