Different storage amount shown in GUI and df -h

enrico223

New Member
Sep 26, 2025
1
0
1
Hello everyone,
I set this up a long time ago, so I don't remember what I did exactly.
I have an Ubuntu VM with 152GB assigned to it, however, when I check the available space with "df -h", it only shows that the total size of the disk is 58GB.
How could this be?
 

Attachments

  • screenshot-2025-09-26-06:39:30.png
    screenshot-2025-09-26-06:39:30.png
    203.1 KB · Views: 5
  • screenshot-2025-09-26-06:39:57.png
    screenshot-2025-09-26-06:39:57.png
    253.8 KB · Views: 5
I have an Ubuntu VM with 152GB assigned to it, however, when I check the available space with "df -h", it only shows that the total size of the disk is 58GB.
The 152 G is the virtual disk size, given to the virtual guest.
The 58 GB is the space of one (or more, you didn't show us the output of df) filesystem(s).

Often both are coupled and give similar size - but that is not a must.

Examine the partition table from inside the guest and verify which partitions with which size are formatted with which filesystem type using which parameters...