You can add up to eight discs to your Cloud Server and you can choose from two grades of storage:
- SSD storage: Fast, solid-state storage for the best performance.
- Archive storage: Slower, electromechanical (spinning) hard drives. Ideal for backups or for storing/serving large files.
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!
Adding a new disc
The method varies slightly depending on whether you’re using Linux or Windows.
- Log in to Bytemark Panel.
- Before adding a new disc, shut down your Cloud Server in the ‘Servers‘ section.
- Click the blue
Add discbutton, choose the size and type of disc you want, and click the green
Add new discbutton.
Please note: you can change the label of the disc to whatever you want, it won’t affect how your operating system sees it.
- Start your Cloud Server again.
- Open the console by clicking the ‘Console‘ button, and login as ‘root’.
Your operating system should have detected the new disc and it will be listed in the
/devdirectory. The first disc is usually labelled
/dev/vda, with subsequent discs labelled
/dev/vdcetc. Running the command
lsblkmay help you to identify the name your new disk has been allocated. The new disk will probably have the highest last letter, the correct size and no entry listed under ‘MOUNTPOINT’.
- 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!
Don’t forget to change the disk label in the following commands if your disk is not ‘vdb‘!
- We can now mount the disc somewhere suitable. For example, you might want to mount
/mnt/extra-storagedirectory (please change this path in the following commands if you want to mount the drive somewhere else):
mkdir /mnt/extra-storage mount /dev/vdb /mnt/extra-storage
- To make sure it gets mounted at every boot, add this line to
/etc/fstabfile using your preferred text editor:
/dev/vdb /mnt/extra-storage ext4 defaults 0 0
This step is optional and applies only to Symbiosis users.
Symbiosis makes daily backups to
/var/backups. It is more robust to put these backups on archive discs (it’s cheaper too), as they operate on separate hardware, so the backups should survive even a catastrophic hardware failure.
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
- Log in to Bytemark Panel.
- Find your Cloud Server in the ‘Servers‘ section and click on the
Add discbutton. Note that if you change the label of a disc, it doesn’t affect how your operating system will see the disc.
- Open Windows Disk Management (Windows key + R, type
diskmgmt.mscand click ‘OK‘).
- Partition your disc as required.