﻿# Understand a model worker waiting on a hard NFS mount

Read hard/soft NFS recovery separately from API deadlines, and track the underlying read and retained worker resources through recovery.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-storage-nfs-hard-mount/
Language: en

A model-loading request times out at the API while its worker remains blocked on an NFS read. The application deadline and filesystem recovery policy are separate boundaries. A Linux hard mount can keep retrying an unanswered NFS request. Making the HTTP caller stop waiting does not automatically terminate the underlying filesystem operation or release every resource it holds.

## Read the effective mount policy

Record the actual mount serving the file, protocol version and effective recovery options in the worker's environment. A configuration file is insufficient if another mount or inherited container view is active. Linux documents different hard, soft and softerr behavior after request timeouts. Preserve which policy applies rather than deriving it from the application's observed error message or a host shell's unrelated mount.

## Separate retry intervals from deadlines

NFS timeo and retrans describe protocol recovery behavior under documented transport-specific rules. They are not a simple universal maximum duration for the complete application read. A hard policy can continue retrying after a major recovery threshold. Do not multiply two configured values and present the product as a guaranteed worker cancellation deadline without the applicable client's full semantics.

## Follow the blocked operation

Correlate the loader phase with client per-mount RPC and transport observations and available server evidence. Keep retries, response waiting and application parsing separate. A responsive API health endpoint can coexist with another thread blocked on storage. Likewise, a model already resident in GPU memory can serve some work while a new replica remains unable to complete its artifact reads.

## Evaluate failure semantics carefully

Soft behavior changes whether an NFS request eventually returns an error; the documentation warns of data-integrity consequences in some cases. It is not merely a faster equivalent of hard recovery. Define how the loader rejects partial or failed reads and preserves accepted artifact integrity. A blanket policy change across a shared mount can affect writers and unrelated applications, beyond the original loading timeout.

## Test service recovery explicitly

Use an authorized isolated equivalent to interrupt the storage path and observe caller timeout, worker state, later server recovery and complete reload. Account for resources retained while the operation remains unresolved. A useful result gives a supported application response to storage unavailability. It does not guarantee bounded filesystem completion from an HTTP deadline or justify treating every blocked NFS read as a failed GPU computation.

## Primary references

[Linux NFS Mount Recovery and Coherence](https://man7.org/linux/man-pages/man5/nfs.5.html).

[NFS Client Per-Mount Statistics](https://man7.org/linux/man-pages/man8/mountstats.8.html).

[IETF NFS Version Four Minor Version One Protocol](https://www.rfc-editor.org/rfc/rfc8881.html).

Related reading: [Choose vLLM safetensors loading strategies for local disks and NFS](/journal/vllm-safetensors-load-strategy/); [OS page cache and cold model loading: what to record](/journal/model-load-os-page-cache/).
