Hello guys, I am so confused by the disk usage issue.
Here I use docker system df
to show the amount of disk space used by the docker, and you can see that docker only uses 6.2GB
disk space:
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 1 0 6.21GB 6.21GB (100%)
Containers 0 0 0B 0B
Local Volumes 0 0 0B 0B
Build Cache 0 0 0B 0B
But when I use sudo btrfs filesystem du -s /var/lib/docker/
to show the disk usage, I get the following result:
Total Exclusive Set shared Filename
127.16GiB 52.29MiB 5.77GiB /var/lib/docker/
And this 127.16GB
actually exceeds my disk capacity allocated for openSUSE, which is 75GB
. And the result of sudo btrfs filesystem show
is as follows:
Label: 'openSUSE' uuid: bb51d104-2db0-4965-8f2a-057d8f684dab
Total devices 1 FS bytes used 22.30GiB
devid 1 size 75.00GiB used 30.07GiB path /dev/nvme0n1p5
Label: none uuid: 76ba0f42-c83c-4b7a-9797-c040abbd458b
Total devices 1 FS bytes used 15.66GiB
devid 1 size 96.00GiB used 18.02GiB path /dev/nvme1n1p2
But my system does not crash and can be normally used. So what is going wrong here? What is actually disk usage?