What are the Hetzner Cloud Volumes?
It is a feature for fast (SSD based), flexible, and cost-effective networked block storage which you can attach to your Hetzner cloud server.
Are Volumes available in all locations?
Volumes are available in all locations (currently Falkenstein, Helsinki, Nuremberg, Ashburn, VA, Hillsboro, OR, and Singapore).
Can I resize Volumes?
You can increase a Volume up to 10 TB. The function uses a sliding bar that allows you to select the desired size in 1 GB increments. Note, however, that you can only enlarge your Volume, not reduce it. After resizing your Volume, you also have to enlarge your server's filesystem manually.
- ext4
resize2fs /dev/sdb
- xfs
xfs_growpart /dev/sdb
Can I clone / duplicate Volumes?
This is not currently possible using Cloud Console.
As a workaround, you could create a second Volume of the same size and mount it on the server where the source Volume is mounted.
Depending on your requirements, you could use tools such as dd
or rsync
to copy your data to the destination Volume.
How can I mount a Volume on the server?
When you attach the Volume to your server on Cloud Console, you can choose between the mount options AUTOMATIC and MANUALLY.
-
If you choose automatic, your Volume will immediately be ready to use and the Volume will have been mounted for you.
-
If you choose manually, a window will pop up right after you created the Volume. You will be shown some commands that you can use to format and mount your Volume. Volumes that have been added to
fstab
will automatically be mounted at every reboot. You can take a look at this tutorial for more information about mounting and formatting a Volume.
Attaching a Volume fails. Why does this happen?
Servers which have run for quite some time may need a power off and power on cycle. This is a one time only requirement and will trigger our cloud management system to enable volume support for this server. Note: A soft reboot is not enough.
Automounting fails — How can I fix this problem?
You need a script on your server so you can automount Volumes. We install this script automatically with all of our standard images. However, any servers that were created before 30 November 2018 will be missing this script. To fix this problem, you can either install the script manually or create a new server. We have prepared an article with all the information you need about the configuration and the auto-configuration package.
How does Hetzner Online store the data in Volumes?
We store every block of data on three different physical servers (triple replication).
Is there a limit on the number of attached Volumes?
You can mount up to 16 Volumes on each of your Hetzner cloud servers. Please note that you can only attach a Volume to one server at a time.
Are there size limits for Volumes?
Volumes can be between 10 GB and 10 TB.
Can I also mount Hetzner Cloud Volumes on a Hetzner dedicated root server?
Unfortunately not: Volumes only work with cloud servers.
How can i distinguish multiple Volumes from each other on a cloud server ?
You can use the following command to get a list of all Volumes available to your Operating System:
lsblk -So NAME,MODEL,SERIAL
- "Name" is the name of the drive in your OS.
- You can use the "Model" column to identify which of your drives is a Volume.
- The number under the column "Serial" is the ID of the Volume in our Cloud Console.
Here an example with 3 Volumes:
# lsblk -So NAME,MODEL,SERIAL
NAME MODEL SERIAL
sda QEMU_HARDDISK drive-scsi0-0-0-0
sdb Volume 16246638
sdc Volume 16246643
sdd Volume 16246652
sr0 QEMU_DVD-ROM QM00003