0

I have an Ubuntu server 16.04 VM running my docker containers. It has a relatively small disk (~60GB) which I thought would be fine because I have dedicated NFS storage that I mount via docker to the services that need it.

The server's disk is very full but I cannot track down what's causing it because all the methods I normally use for finding large disk usage (ncdu, du -sh *) are counting the size of the remote storage as well. (i.e. they say I'm using 13TB/60GB).

How can I figure out how much actual, physical, local disk is being used my each directory?

1 Answers1

1

You should tell disk usage tools not to cross file system boundaries. For example with -x option for du.

du -shx *
kofemann
  • 4,308
  • 1
  • 21
  • 27