Search code examples
amazon-ec2amazon-ebs

AWS Linux 2 - Breakdown of Root Volume usage (EBS)?


Question about disk usage (EBS - Root Device) Running disk-free command shows that 2.5 GB is used on my root device (EBS) Device is mounted on /

diskfree

However, when I check the folder contents of /, it only results to 96kb: I've also used a to check for possible hidden files

enter image description here

Question: The 2.5GB may be for Operating System related files, however is there a way to visualize this? It would be nice to see an exact breakdown of how 2.5GB is used

Thanks!


Solution

  • Try using the below to see a summary of the sizes for each folder:

    du -sh /*