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

Can 5G messaging become a moat for operators in the digital economy era?

The completion of the project of "5G Message...

VirMach: $1.15/month KVM-512MB/15GB/1TB/multiple data centers available

VirMach released several special packages on Blac...

I found a mistake in the book!

I discussed some TCP issues with my friends over ...

Network upgrades you should consider in 2021

As 2020 winds down and the new year dawns, it pro...

China Mobile launches A-share listing: "Making money" but not "cutting leeks"

On the evening of May 17, World Telecommunication...

Huawei: 5.5G is the only way for 5G network to upgrade and evolve

On March 2, MWC 2023 was held in Barcelona, ​​Spa...

China Mobile announces it has built more than 500,000 5G base stations

On the afternoon of August 31, the 2021 World 5G ...

In the digital age, how should enterprises achieve excellent digital experience?

[51CTO.com original article] Driven by mainstream...

HTTP 3: Past, Present, and Early Adoption

HTTP/3 has reached another milestone: Recently, C...

Analysis on the development trend of indoor distribution system in the 5G era

With the development of mobile Internet communica...

The world's IPv4 addresses are officially exhausted!

The long-feared exhaustion of global IPv4 address...