Cloud Platform

Disks

Last updated 2026-11-05

Code

Disks

A disk is block storage. It is a resource of its own: it can exist without being attached, and outlives an instance unless it was created to be deleted with it.

Creating

SettingMeaning
NameA name you choose.
SizeIn GiB.
Disk typeThe storage pool. Pools differ in performance; the list shows each pool's maximum IOPS.
ImageA public image to start from, or empty for a blank disk.

A disk made from an image must be at least as large as the image requires.

Attaching

Attach a disk to an instance in the same zone, with a device index; one disk of an instance is its boot disk. Disks can be attached and detached while the instance runs. If the guest keeps the disk open the attachment reports HotplugFailed in its conditions.

Growing

A disk can be resized to a larger size, never smaller. After growing, extend the partition and the file system inside the guest:

Bashcontent_copy
# device names may differ in your guest; check with lsblk
sudo growpart /dev/vda 1
sudo resize2fs /dev/vda1      # ext4; use xfs_growfs for xfs

Using a new disk

Bashcontent_copy
lsblk
sudo mkfs.ext4 /dev/vdb
sudo mkdir -p /data
sudo mount /dev/vdb /data
echo '/dev/vdb /data ext4 defaults,nofail 0 2' | sudo tee -a /etc/fstab

Deleting

Deleting a disk removes its data for good. A disk that is attached to a running instance cannot be deleted: detach it first. Disks created together with an instance can be set to delete with the instance.

Billing Disks are billed while they exist, attached or not, and also while the instance is stopped. See Pricing.

About us

Building the pillars of digital freedom. Through our social and infrastructure platforms, we provide the tools that empower individuals and businesses to scale without limits.

Provided by Daniel VyroubalIČO 30000912
© 2026 Adatage