How to Resize Vultr Block Storage Volume

Updated on November 27, 2024

Resizing a Vultr Block Storage volume allows you to scale up your storage needs when your data grows. For instance, you can scale the storage size from 80 GB to 160 GB to create more room for business assets like databases, images, audio, and video. You can't shrink a Vultr Block Storage volume to a smaller size unless you create a new instance and copy over the files.

Follow this guide to resize a Vultr Block Storage volume using the Vultr Customer Portal, API, and CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and select Cloud Storage.

  2. Click Block Storage. Then, select the target Vultr Block Storage volume.

  3. Click the current storage size. For instance, 80 GB.

    Resize Vultr Block Storage Volume

  4. Enter a new size in GB. For instance, 160. Type YES to confirm and click Continue.

    Vultr Block Storage Volume Confirmation

  1. Send a GET request to the List Block Storages endpoint and note the Vultr Block Storage volume ID.

    console
    $ curl "https://api.vultr.com/v2/blocks" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PATCH request to the Update Block Storage endpoint, specify a Vultr Block storage volume ID, and a new size in GB.

    console
    $ curl "https://api.vultr.com/v2/blocks/block_storage_id" \
        -X PATCH \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{       
            "size_gb": 160
        }'
    

    Visit the Update Block Storage endpoint to view additional attributes to add to your request.

  1. List all Vultr Block Storage volumes and note the ID. For instance, 6856bb78-e67b-416c-8fc1-2473c66fa016.

    console
    $ vultr-cli block-storage list
    
  2. Specify a Vultr Block Storage volume ID and the new storage size in GB.

    console
    $ vultr-cli block-storage resize block_storage_id \
    --size=160
    

    Run vultr-cli block-storage resize --help to view all options.