Proxmox Disk Space Clean up
Perform the following steps to clean up space on the Proxmox root partition (e.g. when ceph monitor warns about low disk space):
# check available space
ssh root@192.168.1.6[1..n] "df -h /"
# check for large files
ssh root@192.168.1.6[1..n] "du -sh /var/log/* | sort -hr | head -10"
# free up system logs
ssh root@192.168.1.6[1..n] "journalctl --vacuum-time=7d"
# clean up logs
ssh root@192.168.1.6[1..n] "find /var/log/ceph -name '*.log.*' -mtime +7 -delete"
# clean up old installation files
ssh root@192.168.1.6[1..n] "apt-get clean && apt-get autoclean"
# check available space now
ssh root@192.168.1.6[1..n] "df -h /"
# check Ceph status
ssh root@192.168.1.6[1..n] "ceph status"