I've just installed DirectAdmin on a new server (CentOS 8), and successfully logged in. It's the first time I've ever installed or used DirectAdmin, but the installation all seemed to go smoothly. However, one of the first things I noticed is that DirectAdmin is reporting that the size of my main partition (/dev/vda1) is only 13.72 GB. This is incorrect, as it's a 45 GB SSD with only two partitions: a 41GB main (boot) partition, and a 4GB swap partition. This is easily confirmed from the shell:
What is going on here?
Code:
# sfdisk -l
Disk /dev/vda: 45 GiB, 48318382080 bytes, 94371840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa38cedc6
Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 85980799 85978752 41G 83 Linux
/dev/vda2 85980800 94369407 8388608 4G 82 Linux swap / Solaris
What is going on here?