Five ways to free up rootfs in Arch Linux

  1. Cleanup Pacman cache

    paccache -k 0 -r
    
  2. Cleanup orphan packages

    pac -Qtd
    
  3. Cleanup journal

    journalctl --vaccum-time=1w
    
  4. Set max disk capacity for journals
    • Change SystemMaxUse to 100M in /etc/systemd/journald.conf
    • Then restart journald service

      sudo systemctl restart systemd-journald.service
      
  5. Use ncdu to see which file uses most of the disk
    • Cleanup unused fonts