VPS Storage add-on secondary drive

If you have opted for a storage add-on, and the drive has been added as a secondary drive, appart from your boot drive, depending on your linux distribution, you will have to add the drive in the operating system manualy.

 

This is usually a simple task, 1- to 15 minutes max, and has to be done only once for each drive added.

You can also install an add-on like cockpit, and do this in WEB GUI.

https://cockpit-project.org/running.html

 

For example, on Debian 12 you can install cockpit with 2 steps:

 

  1. apt -y install cockpit
  2. systemctl enable cockpit.socket

 

If you wish to login with root user, remove "root" entry from this file

/etc/cockpit/disallowed-users

Now you can login to your VPS via web:

 

https://my server ip:9090

 

From there you can add the addon drive via the storage option.

 

If you prefer manual CLI setup, there are some things to consider, we recommend these as we have done extensive testing on this subject.

 

  1. Always add the drive using UUID in /etc/fstab
  2. Create a GPT partition table, not MBR. MBR has a limit of 2TB
  3. Format the new drive with XFS file system not EXT4. DO NOT USE ZFS in VPS!
  4. Mount the drive in /mnt/XXTB-disk0Y, XX representing the size of the drive and y the number, as you might have 1,2 or more.

 

We recomend that you follow these links as guidance, please change the drive ID/NAME according to your system:

 

Linux in General: https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux

Ubuntu/Debian: https://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/

Centos: https://www.answertopia.com/centos-stream/adding-a-new-disk-drive-to-a-centos-stream-system/

 

  • storage addon, storage
  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

Does my VPS/service have DDOS protection?

Yes, we provide a basic DDOS protection on all our services. Please note that this does not mean...

Can I mine Crypto or host a crypto node?

We do not ban crypto mining or hosting crypto nodes on our services. Please take into...

VPS gives Error at apt/yum update/upgrade

If you just bought your VPS, please give it 5 to 10 minutes to do an initial update and upgrade...

VPS Performance - QEMU

If you experience VPS slow speed, please check that qemu guest agent is installed and running....

Enable SSH Password Login

Some of the Newer Images have only SSH Key activated by default, and to enable SSH Password...