I'm trying to find out in a Linux terminal on my Synology NAS drive, how to see how much space is taken up by directories labeled as eadir. For those not familiar, these are basically metadata files that get used in media applications, web apps, etc. on the front-end of the NAS drive.

so far I navigated to my root /volume1/ directory and have tried:

du -h -> Took a very long time, not sorted by file size.

du -h > output.txt -> This actually put all the information in a file, still not sorted by file size.

du -h > output.txt | sort -> sorted the files purely numerically, so a 10GB file would show up before a 20KB file just because numerically 10 is less than 20.

What other ways can I try to find out the largest files on my drive?


2 Answers 2


You can install the Synology Storage Analyzer package.

Create a report, check Large Files report item (check all options, Duplicate Files, etc., they are all interesting). Then run your report, it did not take long on my DS213+.

And, as Germar said, ncdu is also a very convenient and interactive solution.

To make it scan your folders faster, without using network, You can install ncdu on your Synology NAS directly, and then run it through an SSH connection. For this, SynoCommunity package repo to your Package Center and then install ncdu package.


ncdu does exactly what you want and a lot more. You can even browse folders and also delete files directly.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .