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
  • Resizing the OS volume
  • Resizing other block volumes
  • Useful commands

Was this helpful?

  1. Storage
  2. Block Volumes

Resizing a block volume

After resizing the block volume from the dashboard, you must shutdown and start the instance from the dashboard (in case it was not already shut down).

Resizing the OS volume

The OS volume is resized automatically after the next system start. Please make sure you perform shutdown from the cloud dashboard in order for the change in volume size to be detected during start-up.

Resizing other block volumes

Run these commands on your instance to resize the non-OS volume.

Replace <TARGET> with the volume target e.g. vdb.

Instructions for EXT4 filesystem (default)

If partitioned (e.g. with OS volumes), that are also ext4 by default. The default partition number is 1):

growpart /dev/<TARGET> <PARTITION_NUMBER>
resize2fs /dev/<TARGET><PARTITION_NUMBER>

There's one space character between the parameters of the growpart command

If not partitioned:

resize2fs /dev/<TARGET>

Instructions for XFS filesystem

Same process as in Instructions for EXT4 filesystem (default), but replace resize2fs with xfs_growfs:

xfs_growfs /dev/<TARGET>

Useful commands

To check if the volume is partitioned use:

lsblk

To check the filesystem type use:

df -hT

Last updated 5 days ago

Was this helpful?