Docs
DataCrunch HomeSDKAPILogin / Signup
  • Welcome to DataCrunch
    • Overview
    • Locations and Sustainability
    • Pricing and Billing
    • Team Projects
    • Support
  • CPU and GPU Instances
    • Set up a CPU or GPU instance
    • Securing Your Instance
    • Shutdown, Hibernate, and Delete
    • Adding a New User
    • Managing SSH Keys
    • Connecting to Your DataCrunch.io Server
    • Connecting to Jupyter notebook with VS Code
  • Clusters
    • Instant Clusters
      • Deploying a GPU cluster
      • Slurm
      • Spack
      • Good to know
    • Customized GPU clusters
  • Storage
    • Block Volumes
      • Attaching a block volume
      • Resizing a block volume
      • Cloning a block volume
      • Permanently deleting a block volume
    • Shared Filesystems (SFS)
      • Creating a shared filesystem
      • Editing share settings
      • Mounting a shared filesystem
  • 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
    • Services Overview
    • Shared Responsibility Model
    • DataCrunch API
  • Python SDK
  • Get Free Compute Credits
Powered by GitBook
On this page
  • Attaching a block volume to an instance
  • Attaching a block volume to an instant cluster

Was this helpful?

  1. Storage
  2. Block Volumes

Attaching a block volume

Attaching a block volume to an instance

Run these commands on your instance to start using a volume.

Replace <TARGET>with the volume target, e.g. vdb and <DIR_NAME> with the name of the directory you want to mount it to.

Format volume (only needed once, e.g, if it's a new volume):

mkfs.ext4 /dev/<TARGET>

Create directory:

mkdir /mnt/<DIR_NAME>

Mount volume:

mount /dev/<TARGET> /mnt/<DIR_NAME>

Recommended: add volume to fstab (this will automatically mount the volume on every system startup):

echo "/dev/<TARGET> /mnt/<DIR_NAME> ext4 defaults 0 0" >> /etc/fstab

Attaching a block volume to an instant cluster

Currently instant clusters have fixed storage by default. Contact us via chat in the dashboard or email us at support@datacrunch.io if you need to adjust your cluster's storage.

Last updated 5 days ago

Was this helpful?