1. Home
  2. Cloud Servers
  3. Adding New Discs

Adding New Discs

You can add up to eight discs to your Cloud Server and you can choose from two grades of storage:

  • SATA: Fast solid-state storage (based on SATA SSD drives in a RAID5 or RAID6)
  • Archive: Slower, bulk storage ideal for backups or large file serving tasks (based on SATA hard drives in a RAID6)

Each storage grade is priced differently. You can increase the size of a disc at any time, though you will have to shutdown your Cloud Server before your operating system will see the change.

Please note: You can’t decrease the size of a disc once it has been created. If you are not sure how much storage you require, better to choose too little than too much!

Add a new disc (for Linux)

  1. Before adding a new disc, shut down your Cloud Server.
  2. Click the blue Add disc button, choose the size and type of disc you want, and click the green Add new disc button. Note that changing the label of a disc doesn’t affect how your operating system will see it.
  3. Start your Cloud Server. Your operating system should now detect a new empty disc. The first disc in your server is usually labelled /dev/vda, with subsequent discs labelled /dev/vdb/dev/vdc etc. Run this command if you are not sure what discs are attached:
    ls -1 /dev/[sv]d[a-z]
    
  4. Once you have determined the name of the new disc, create a filesystem.

    NB: Make sure you specify the correct disc, as this command will DESTROY ANY EXISTING DATA!

    sudo mkfs.ext4 /dev/vdb
    
  5. Now you can mount the disc somewhere suitable. For example, you might want to mount /dev/vdb at the /mnt/extra-storage directory:
    sudo mkdir /mnt/extra-storage
    sudo mount /dev/vdb /mnt/extra-storage
    
  6. To make sure it gets mounted at every boot, add this line to /etc/fstab:
    /dev/vdb /mnt/extra-storage ext4 defaults 0 0
    
  7. This step is optional and applies only to Symbiois users.

    Symbiosis makes daily backups to /var/backups. It is more robust to put these backups on an archive disc (it uses cheaper storage too). That storage is bound to be on different hardware, so the backups will survive even a catastrophic hardware failure.

  8. sudo mv /var/backups /mnt/extra-storage; sudo ln -s /mnt/extra-storage/backups /var/backups
    

    You can check that all is well with this command:

    df -h /var/backups
    

    You should see output something like this, but the numbers will vary:

    /dev/vdb         50G   53M   47G   1% /mnt/extra-storage
    

Add a new disc (for Windows)

  1. Find your Cloud Server and click on the Add disc button. Note that if you change the label of a disc, it doesn’t affect how your operating system will see the disc.
  2. Open Windows Disk Management.
  3. Partition your disc as required.
Updated on May 8, 2018

Was this article helpful?

Related Articles