SimplerCloud Pte Ltd

×
×

Important: What is the difference between root-disk and data-disk?

Back

All our servelets come with two disks by default: the root-disk and the data-disk. On Linux servelets, the root-disk is usually mounted as / (the root partition), while the data-disk is usually mounted as /data. On Windows servelets, the root-disk is usually assigned the C: drive letter, while the data-disk is usually assigned the E: drive letter.


Root-disk

Root-disk is the disk where the operating system (OS) of your servelet is installed. The size of the root-disk is fixed and cannot be upgraded. For Simple Cloud Plans, the size of the root-disk doesn't count into your storage space subscription.

Since the root-disk is actually formed from the OS template when the servelet is provisioned, the size of the root-disk varies depending on the operating system templates being used. For most Linux servelets, the size of the root-disk is 10GB, although there are some Linux templates with 15GB in size (e.g. the cPanel template). For most Windows servelets, the size of the root-disk is 60GB.

You can only boot-up your servelet from the root-disk, since this is the disk where the operating system is being installed. You cannot boot-up your servelet from the data-disk.


Data-disk

Data-disk is an empty disk, which you can use to store data. This is the storage space which you have subscribed under the plan. For example, a servelet under Simple 2 plan will have data-disk with 40 GB of disk space. The data-disk is separated from the root-disk, to ensure that you have the total amount of disk space you purchase, excluding the space used by the OS.

When you upgrade your plan or increase your disk space, it will be the data-disk space which will be upgraded. The size of the root-disk is fixed and will remain.

 

Application data should be stored in the Data-disk

We strongly recommend you install your applications and store your data on the data-disk.

1. The data-disk provides more disk space, while the size of the root-disk is fixed (and some of them are already taken by the OS). When your application and data grow and need more space, you can just upgrade the plan, and the data-disk space (where your application and data are located) will be upgraded.

2. Leaving your application and data on the root-disk can cause the root-disk to run out of disk space, and since the root-disk is used by the OS, such problem can cause instability and even downtime to your servelet. Furthermore, it's not possible to upgrade the disk space of the root-disk since the size is fixed.

3. Another advantage of storing your data in the data-disk is during an unforeseen event where your OS needs to be re-installed, we can arrange for your servelet to have the OS rebuilt while still preserving the data on the data-disk. Note that all data on the root-disk (e.g. C: drive on Windows servelet) will be destroyed during OS rebuild.

Note: By default, both the root-disk and data-disk will be reformatted if you rebuild your OS yourself via the control panel in our portal. If you would like to preserve the data on the data-disk during OS rebuild, please do let us know so that we can detach the data-disk from your servelet before you perform the OS rebuild. This will prevent the data inside the data-disk to be deleted. Once the servelet OS has been rebuilt, we can then re-attach the data-disk to your servelet and the data inside the data disk will still be intact.


Configure Your Application To Use Data-disk

For certain applications which are being installed on the root-disk by default (mainly Linux-based applications which are usually installed by default on their respective default folders in Unix), sometimes you might need to make some adjustment of your servelet's configuration so that the data can still be stored on the data-disk. In most cases, moving your data to the data-disk and then create a symbolic link would do the trick, although it may not work for certain applications. You may want to refer to our knowledge-base articles on how to configure some of the most popular applications to use data-disk to store data:

cPanel - How to configure cPanel to make use of the data-disk to store data?

Plesk - How do I make use of my data-disk for my Plesk data files?

DirectAdmin - How to make use of data-disk for DirectAdmin?

OwnCloud - How to configure OwnCloud to use the data-disk for storage?

Jet Workflow - LAMP Apache Preparation for Jet Workflow Application to Use the Data Disk


Data-disk on Windows Server 2012 R2 and Windows Server 2016 OS Templates

On servelets running Windows Server 2012 R2 and Windows Server 2016 OS templates, the data-disk exists but not initialized by default, so you might not see the E: drive on My Computer or Windows Explorer. You would need to initialize the disk manually using Disk Management (or using a prepared PowerShell script which is available on Windows Server 2016 OS template) to activate the disk and assigned the E: drive letter into it. Step-by-step instructions with screenshots on how to do it can be found on our knowledge-base article here:

Windows Server 2012 R2 - How can I initialise data-disk on Windows Server 2012 servelet?

Windows Server 2016 - How can I initialise the data-disk on Windows Server 2016 servelet?

Was this article helpful?
Dislike1 Like0
Views: 13719