My disk is almost full, how can I know where takes away the most disk?Because yesterday the disk is enough for my System. [root@ha-node1 log]# df -lh Filesystem      Size  Used Avail Use% Mounted on/dev/sda2        18G   18G  4.3M 100% /devtmpfs        3.9G     0  3.9G   0% /devtmpfs           3.9G   54M  3.8G   2% /dev/shmtmpfs           3.9G  383M  3.5G  10% /runtmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup/dev/sdc         20G   45M   19G   1% /mnt/sdc/dev/sdb         20G   83M   19G   1% /mnt/sdbtmpfs           781M     0  781M   0% /run/user/0
How to see which directory occupy the most disk?
centos
Use du. Use -x to prevent recursion into other mount points. You can limit the output using --max-depth=N. Human readable format (e.g., 1K 234M 2G) is enabled by -h.Output can be sorted by piping to sort.For example: du -x --max-depth=3 -h / |sort -h