BuyVM Mount Hard Drive Method (Block Storage Slabs)

BuyVM Mount Hard Drive Method (Block Storage Slabs)

This month we have shared information about BuyVM's products, reviews, and Stallion panel usage. We know that BuyVM also provides additional Block Storage Slabs products, and the price is quite cheap, 256GB storage is only $1.25/month. After purchasing Block Storage Slabs, you can mount it on your VPS host and turn it into a large disk machine in seconds. Today, let's take a look at how to mount a hard disk with BuyVM.

BuyVM official website: https://buyvm.net/

1. Panel Operation

First, after we purchase Block Storage Slabs and activate it, we will receive a product information email. We can log in to the Stallion panel to view the storage information (click Storage Volumes at the panel header or click Volumes on the VPS management page).

Then we assign the storage block to the VPS host (as shown below, click Attach To Virtual Server on the right)

On the page that pops up below, we need to select our own VPS host in the Attach To box, and then click Attach Volume.

After completing the allocation, our operations in the VPS management panel are completed. Next, we ssh into the VPS and start mounting it in the system.

2. System Operation

Log in to the VPS host and use the command fdisk -l to see the disk space we allocated, as shown in the red box in the figure below. I bought a 256GB storage here.

Next we will check the storage block name number, format the storage block, and mount the storage to the mount point.

 [root@ ~]# ls /dev/disk/by-id/
ata-QEMU_DVD-ROM_QM00004 scsi-0BUYVM_SLAB_VOLUME-10811
#View the storage block name number, etc. [root@ ~]# mkfs.ext4 -F /dev/disk/by-id/scsi-0BUYVM_SLAB_VOLUME-10811
#Format storage block [root@ ~]#mount -o discard,defaults /dev/disk/by-id/scsi-0BUYVM_SLAB_VOLUME-10811 /home
#Mount the storage block to /home. If you need to mount it to other directories, please create the relevant directories first.

After completion, we can use df -lh to check whether the partition is normal, and then add an automatic mount at startup. Edit /etc/fstab and add a line:

 /dev/disk/by-id/scsi-0BUYVM_SLAB_VOLUME-10811 /home ext4 defaults,nofail,discard 0 0

After that, you can restart to check whether it can be mounted normally. The overall operation is relatively convenient. Similarly, we can also uninstall and deallocate storage blocks, etc., and perform the reverse operation.

<<:  SpartanHost Seattle E5 series VPS restock, 10Gbps port, NVMe hard drive, 20% off monthly payment

>>:  RAKsmart: 50% off all VPS hosting, VPS in Hong Kong/Japan/San Jose starting from $2.63 per month

Recommend

When the 2G/3G network is down, will your IoT work properly?

Over the past few years, we’ve seen a lot of head...

5G becomes a strong driving force for edge computing

Edge computing is one of the most exciting new co...

Aruba CX switch series helps build high-performance networks for the future

Under the epidemic, whether it is serving custome...

Ten techniques for API protocol design

In this digital age, our daily lives are filled w...

5G Thinking丨Please give 5G some tolerance and time

[[400629]] Recently, 5G has become a hot topic on...

Top ten trend predictions: Where will domestic telecom operators go in 2021?

After a complicated 2020, the wheel of time has e...

Why TCP will be replaced by UDP

Why's THE Design is a series of articles abou...

It’s 2022, why are there still so many network failures?

Failures happen every year, but this year they ha...