liveBook · Manning

Mounted volume

As explained in LLMs in Production

A mounted volume is a storage resource attached to a running machine or container and exposed through its filesystem.

A mounted volume stores a large model on file-based storage attached at boot, letting a running service load it without packaging the model inside its image. section 6.1.2

Use the strategy when boot speed matters, but plan for its operational costs:

  • Mounting a volume can provide very fast boot times and avoids downloading the model for every instance. section 6.1.2
  • Deployment requires coordination so that each target region and zone has an appropriate volume. section 6.1.2
  • Replication, backups, drive failures, and higher-cost SSDs create reliability and cost trade-offs. section 6.1.2
  • A hybrid approach downloads the model during the first regional deployment, then lets later instances reuse the mounted volume. section 6.1.2

Model storage for new instances

A service downloads its model at boot and saves it to a volume mounted for later instances. The first deployment in a region gains no benefit, but subsequent instances can load the existing model directly. section 6.1.2

Figure 6.3 Different strategies for storing LLMs and their implications at boot time. Often, we have to balance system reliability, complexity, and application load time.
figure

Compare mounted volumes with image-baked and object-store strategies by boot speed, reliability, complexity, and application load time. section 6.1.2

How LLMs in Production covers it

How deep it goes
Explains boot behavior, regional coordination, replication, backups, drive failure, and cost trade-offs without implementation steps.
Examples
Uses LLM files, regional and zonal volumes, first deployments, later instances, SSDs, and hybrid boot-time downloads.
What it assumes
Assumes familiarity with LLM service deployment, boot-time model loading, and infrastructure such as Kubernetes or RAID controllers.
What you can do after
Operate/configure model storage by weighing fast startup against regional coordination, replication, backup, failure, and SSD costs.
How it connects
Connects mounted volumes with object stores, containers, Kubernetes, RAID controllers, replication, and reliability.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of LLMs in Production. The section links point to the parts of the book it draws on.