Environment:
-
OS: macOS
-
NAS Model: TS-264
-
Firmware: QTS 5.2.8
Hi everyone,
I’ve been troubleshooting an issue where my NAS gets stuck during shutdown, and came across this QNAP FAQ on how to check the shutdown log: https://www.qnap.com/en/how-to/faq/article/if-system-got-stuck-while-shutting-down-how-to-check-on-nas. While SSH’d in, I noticed the /tmp and /mnt/HDA_ROOT directories and wanted to better understand their space usage.
I’m familiar with the basics like df -h and du -sh, but I have a few questions:
-
How to effectively find what’s consuming space? Are there any recommended advanced
ducommands or useful one-liners for digging into /tmp or /mnt/HDA_ROOT? -
How to tell what’s normal vs. abnormal? How large are these directories typically on a healthy system? At what point should I be concerned?
-
What’s safe to clean up? If space is running low, which files can be safely deleted, and which should absolutely not be touched?
-
Does QTS handle cleanup automatically? Does QTS have any built-in mechanism for automatically managing these directories? If so, I wouldn’t even need to bother with df/du or monitor the usage myself.
Would love to hear from anyone with experience. Thanks!