du -sh keeps timing out!

i need to get the entire size of /storage, but using du -sh times out after about an hour! is there another way to get the entire directory size?


Solution 1:

Is /storage mounted as a separate filesystem? If so, you can simply type df /storage and that should work.

The fact that the command is timing out suggests that it's a network filesystem. If so, what filesystem type is it? What's it provided by and how are you mounting it?