Modal logo

Network file systems (deprecated)

modal.NetworkFileSystem provides writeable volumes that can be simultaneously attached to multiple Modal Functions.

NetworkFileSystem is deprecated and will be shut down on November 20, 2026. See the migration guide for details.

The NetworkFileSystem abstraction is limited by the fact that the underlying storage is located in only one cloud region. Since Modal compute runs in multiple regions, this causes variable latency and throughput issues when accessing the file system.

We recommend migrating to Volumes v2, which offer fast reads and writes across all regions (see migration guide).

Deleting NFS objects 

You can delete a network filesystem object (along with all of its data) via the storage dashboard, the modal nfs delete CLI, or the modal.NetworkFileSystem.delete method.