Docs
DataCrunch HomeSDKAPILogin / Signup
  • Welcome to DataCrunch
    • Overview
    • Locations and Sustainability
    • Support
  • GPU Instances
    • Set up a GPU instance
    • Securing Your Instance
    • Shutdown, Hibernate, and Delete
    • Adding a New User
    • Block Volumes
    • Shared Filesystems (SFS)
    • Managing SSH Keys
    • Connecting to Your DataCrunch.io Server
    • Connecting to Jupyter notebook with VS Code
    • Team Projects
    • Pricing and Billing
  • Clusters
    • Instant Clusters
      • Deploying a GPU cluster
      • Slurm
      • Spack
      • Good to know
    • Customized GPU clusters
  • Containers
    • Overview
    • Container Registries
    • Scaling and health-checks
    • Batching and Streaming
    • Async Inference
    • Tutorials
      • Quick: Deploy with vLLM
      • In-Depth: Deploy with TGI
      • In-Depth: Deploy with SGLang
      • In-Depth: Deploy with vLLM
      • In-Depth: Deploy with Replicate Cog
      • In-Depth: Asynchronous Inference Requests with Whisper
  • Inference
    • Overview
    • Authorization
    • Image Models
      • Flux.1 Kontext pro
      • Flux.1 Kontext max
    • Audio Models
      • Whisper X
  • Pricing and Billing
  • Resources
    • Resources Overview
    • DataCrunch API
  • Python SDK
  • Get Free Compute Credits
Powered by GitBook
On this page
  • Creating a shared filesystem
  • Editing share settings
  • Mounting a shared filesystem
  • Where to find the pseudopath

Was this helpful?

  1. GPU Instances

Shared Filesystems (SFS)

Last updated 1 month ago

Was this helpful?

Shared filesystems allow you to store and share files across different instances, making collaboration or distributed workloads easier. Unlike block volumes, which are attached to a single instance at a time, shared filesystems let multiple instances read and write to the same storage. This makes it ideal for tasks like sharing data between applications or managing large, centralized file repositories. Shared filesystems are scalable, reliable, and great for managing data in environments with multiple users or systems.

Shared filesystems are currently only supported in locations FIN-02 and ICE-01. The feature will be expanded to all locations soon!


Creating a shared filesystem

Create a new shared filesystem in two ways. One way is by clicking Create filesystem on the Shared filesystems screen.

Choose your settings and click Create filesystem.

The other way to create a shared filesystem is during deployment of a new instance. This will automatically be shared to the instance it is created with.


Editing share settings

To mount SFS on your instance, you need to first share it with the instance via the cloud dashboard.

There are two ways to share the filesystem with the instance:

  1. Otherwise, you can share and unshare to instances by clicking the Share settings button.

Choose which instances you would like to have access to the shared filesystem and click Confirm settings. Note that you can only share to instances within the same location (e.g. FIN-02).

Sharing to long-term instances requires payment upfront based on the instance with the longest remaining contract time. You are only charged for additional contract time that has not already been paid.


Mounting a shared filesystem

Once the SFS has been shared with your instance, you can proceed to mount it.

Create a directory to which you want to mount the SFS:

mkdir -p /mnt/<DIR-NAME>

Mount the shared filesystem, replace <PSEUDO> with the filesystem's pseudopath:

mount -t nfs -o nconnect=16 nfs.<DC>.datacrunch.io:<PSEUDO> /mnt/<DIR-NAME>

Add filesystem to the /etc/fstab, to have it mount on instance startup. Replace <DC> with the location (ex: fin-02):

sed -i '\|nfs.<DC>.datacrunch.io:/<PSEUDO> /mnt/<DIR-NAME> nfs|!a\nfs.<DC>.datacrunch.io:/<PSEUDO> /mnt/<DIR-NAME> nfs defaults 0 0' /etc/fstab

Where to find the pseudopath

If you have running instances, you will see the Share settings modal and any available instances (instances in unsupported locations will be inactive and cannot be selected). Choose any and all available instances that you would like to have access to your filesystem. Click Confirm settings and see below to complete the process.

When a shared filesystem is added during the instance creation, it will be shared to the instance automatically, and you can skip straight to .

Mounting a shared filesystem
Mounting a shared filesystem