scratchandgame,

Split the filesystem to more partition.

have a 1G /, 500M for /boot, have partitions for /usr, /usr/local (this isn’t used on linux so keep it small), /var, /home, and /tmp if you have little ram. Otherwise use memory-based filesystem (tmpfs), for /tmp I allocate less than 1/4 of my RAM.

For partition size, refer to man.openbsd.org/disklabel.8#AUTOMATIC_DISK_ALLOCA…

Remember to keep /usr/local small on most distro (perhaps I will allocate 5G), and increase /usr, create /opt too to prevent the disaster and allocate it the size for /usr/local. Don’t allocate all disk space, a 200G home is enough for most people and leave the rest unallocated. the formatting and fsck would be faster on smaller filesystem.

And if you find other “cache” location, try log out and rm -rf the location, if login doesn’t break, I would mount tmpfs on that cache location too.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • fightinggames
  • All magazines