K7

K7Blog

须知少年凌云志 曾许人间第一流.
proton
telegram

Vultr provides instance block storage.

For the project, I have set up a dedicated backup server for offsite backups.

The configuration of this offsite backup server is quite high, but it is only used for backup purposes and does not require such a high-end server.

So I decided to use it as an image hosting server for myself, but later I found that the image files took up a lot of space, reaching 80GB, and I also ran some other projects on it.

Then I encountered some other issues, so I added another backup to the main server and the offsite backup server.

This new server has the same configuration as the offsite backup server, as I have multiple Vultr accounts and each account has funds.

So I directly created a new server, but the balance in the second backup server can only last for one month.

Then I thought about the block storage feature of Vultr and remembered that Tencent Cloud allows mounting of hard drives for servers. So I created a 1h1g server and mounted block storage.

Installation Guide:#

The first block storage device is connected to your server as /dev/vdb. Other devices will be renumbered (/dev/vdc, /dev/vdd, etc.). By default, we do not create any file systems on the block storage volume.

Create a new empty partition:
# parted -s /dev/vdb mklabel gpt 
# parted -s /dev/vdb unit mib mkpart primary 0% 100%

Create a new empty file system:
# mkfs.ext4 /dev/vdb1

Mount the block storage:
# mkdir /mnt/blockstorage 
# echo >> /etc/fstab 
# echo /dev/vdb1 /mnt/blockstorage ext4 defaults,noatime,nofail 0 0 >> /etc/fstab 
# mount /mnt/blockstorage

Previously, the cost was $48 for the server and Vultr backup together, but now it is only $7.5 for the server and block storage combined.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.