Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to solve Synology "You cannot login to the system because the disk space is full currently"
#!/bin/bash
#1. See what partition is full:
df -h
#2. Find largest directories:
du -hax / 2> /dev/null | sort -rh | head -n 20
#3. Find fattest files:
find . -type f -printf "%s\t%p\n" | sort -n | tail -n 20
# then remove the largest unneeded files using the 'admin' password:
# sudo rm -f {files}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.