My server reports different disk numbers than your site.


df reports a lower Size than expected:

We use the same standards as hardware manufacturers so the numbers you see are what would be reported in a dedicated server or a hard drive of the equivalent size.  The reasons are as follows:

  1. 1GB (gigabyte) using SI standards is 1,000,000,000 Bytes (1000^3).  df and du report in GiB (gibibytes) which is 1024^3.   Hard drive manufacturers use SI standards for Giga, so we keep those standards in tact with our systems. 1GB = ~0.93GiB.
  2. Each of our servers have their own private volumes and filesystems.  Ext4, for example being the most common filesystem, will have some overhead for metadata (usually about 1% of your disk storage).

This should leave you with about 0.92GiB reported per 1GB of allocation.  This is the ‘Size’ number reported by df.

 

df reporting a lower Avail amount than expected:

Filesystems, such as ext4, reserve space for the super user.  By default ext4 reserves 5% of the filesystem for the super user to ensure the system will still function properly when it is low on disk space.  If you find you aren’t able to use the system after you run out of disk space, open up a ticket so we can take a look.  It may be that you have exhausted your whole limit or you just need us to lower the reservation amount on your filesystem.  We can easily reduce this reservation amount if you find you need more disk space and aren’t concerned about the reservation for the superuser.

 

What about RAM/Memory?

RAM manufacturers use JEDEC standards.  JEDEC standards set 1GB to 1024^3 unlike SI standards which is 1000^3.  Therefore 1GB of memory in our systems is 1,073,741,824 bytes.

 

Please login or Register to Submit Answer