Article overview

Help article

How do I add Big Storage to my Linux VPS?

Navigate to the VPS tab in your control panel and select Your VPS > Big Storage. On this page you can order new disk space for your VPS using the Order Big Storage button.

You can determine the size of your Big Storage by pressing the '-' and '+' symbols and complete your order.

After your order has been completed you will return to the Overview page. Here you can find your ordered Big Storage. Select it and you will see the option to Attach your Big Storage to your VPS. Select your desired VPS in the dropdown menu and click "Attach Big Storage to VPS" to link it to your VPS. After you have linked the Big Storage to your VPS, open the Console in your control panel and log in using root.

The FAQ below is applicable for a Linux VPS, when using a Windows VPS you can check the article about Big Storage for your Windows VPS here.

 

When the FAQ states that a command should be executed, this means that you should type out the command and press enter to execute it.

To make all disk visible you can use the following command.

lsblk

The output needs to look as follows:

[username ~]$ lsblk
NAME      MAJ:MIN    RM    SIZE  RO    TYPE   MOUNTPOINT
sr0          11:0     1   1024M   0    rom
vda         253:0     0    150G   0    disk
└─vda1      253:1     0    146G   0    part   /
└─vda2      253:1     0      1K   0    part       
└─vda3      253:1     0      4G   0    part     
vdf         253:0     0   1000G   0    disk
└─vdf1      253:1     0    146G   0    part       

In this output you can see that the extra disk vdf has not yet been mounted.

Making the extra disk available.

  • Mounting the disk. In the previous output the disk was linked to /dev/vdf.
    Use the following command to create a list of all available disks.
    lsblk
    The vdf disk has not yet been mounted, and is a partition of 146G on vdf1. The data on the disk has been included in the partition instead of in the root. In that case, you can mount the /dev/vdf1 partition. If there is no partition on vdf you can mount /dev/vdf.
  • (Optional) When you have created an empty disk, you can use the command mkfs to create a ext4 file system on the disk. Replace the name (like /dev/vdf) by the user name of your VPS.
    PLEASE NOTE
    The next step assumes that you are mounting an empty disk. When you want to mount a disk that already contains data, do not use the mkfs command. If you do, you will format the disk and erase all data.
    $ sudo mkfs -t ext4 /dev/vdf
  • To mount the disk as /mnt/my_disk use the following command.
    $ sudo mkdir /mnt/my_disk
    
    $ sudo mount /dev/vdf1 /mnt/my_disk
    
  • If you now use the df -h command your output will ook as follows:
    [username ~]$ df -h
    Filesystem    Size  Used   Avail  Use%  Mounted on
    /dev/vda1     7.9G  1.1G    6.8G   14%  /
    tmpfs         298M     0    298M    0%  /dev/shm
    /dev/vdf1    1000G    0M   1000G    0%  /mnt/my_disk
    
  • You can use the following command to make the contents of your new disk visible.
    $ ls /mnt/my_disk

You have now successfully completed the tutorial.

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.

Comments

Create an account or log in to be able to leave a comment.

Are you stuck?

Ask one of our specialists to assist you

Contact us