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:

 

 

Great article from worldstream : https://kb.worldstream.com/mounting-a-disk-in-linux/

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/

 

Version 1

Date: 01-January-2024

  • storage addon, storage
  • 38 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

DDoS Protection on Your VPS/Service

DDoS Protection and Security Features Some of our services include DDoS protection, as specified...

Enable SSH Password Login

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

Improving VPS Performance: QEMU Guest Agent Requirement

If you experience slow speeds on your VPS, please verify that the QEMU Guest Agent is installed...

Mount ISO in VPS, change Boot order, add SSH-KEYS

If you wish to mount an ISO image, change Boot order or add SSH-KEYS, you have to login to your...

VPS gives Error at apt/yum update/upgrade

Initial Setup: Please Allow 5–10 Minutes When you first start your VPS, please allow 5–10...