How to manage disk space and disk usage

Many traditional hosting providers offer huge amounts of storage, with the likes of 100’s GB of data. This is a practice known as overselling, which is done in order to make the services seem better and larger than they actually are.

At Servebolt we don’t oversell. Our storage solution is highly optimized for performance. We only use solid state disks (SSD) or NVME in a RAID 1 setup. This gives our customers extremely fast read/write performance, both for regular files and for databases. It also allows one drive to fail, and to be replaced, without any service disruption or performance loss.

Our smallest hosting package contains 1GB of storage but our Pro plans start with 4 GB. These 4GB are more than enough for most of our customers and their websites and e-commerce sites.

If you find yourself running out of disk space, we have two options available.

How to add storage

The first one is the easiest. On the dashboard view of your Bolt you’ll find the option to Change Plan. When you click on that button, you’ll find the options available for your plan. At the top you’ll see the options to upgrade to a plan with more storage. The amount of storage you can use depends on the plan you’ve selected for your subscription.

However, you can also add disk storage to your current plan via the Add-ons section at the bottom. Just move the blue circle to the right to change the amount of storage needed.

Add-on options

Manage disk usage through SSH

The second option requires a bit more work and requires some investigation. This option will help you remove unnecessary items and as such make more storage available within your current plan.

Time needed: 15 minutes.

Follow the following steps to manage your disk usage via SSH

  1. Turn on SSH access

    Make sure you have SSH access turned on in the Control Panel: Connecting using SSH.

  2. Login using SSH

    Use the information provided in the site registration email to log into your site via SSH

  3. Check disk usage in directories

    Run the following command through the terminal: du -hd 1.
    This will give you a list of all underlying directories and the disk usage in each directory. You can then navigate into a directory and repeat the command to exactly “pin down” where most data is being stored with cd [directoryname]

  4. Find big files

    Run the following command through the terminal: find ~/ -size +10M -ls
    This will give you a list of all files larger than 10MB on the host. You can adjust the file size in the command to fit your needs.

  5. Find large files

    Once you’ve found the directory with the most data, and navigated into it using the cd command, run the following command to list all files in the directory according to size (with the largest file in the end). ls -lSr

  6. Remove large files

    To remove files, use the rm command like this: rm -f [filename]

What files can I delete?

Many times, when we’ve cleaned out customers websites, we’ve noticed that the following type of files are unnecessary stored.

  • Database and/or file backups, often automatically generated by plugins
  • Cache files, in WordPress often stored under /wp-content/cache/
  • Manually compressed files/directories, ending with .zip, .tar.gz or .tgz

If you want to clean out files and aren’t sure if the files are necessary or not, feel free to contact our customer support. And of course, you can always easily upgrade to an account with more data storage through our control panel.

Give us your feedback on this article