I have been upgrading after a few weeks of being too busy too. I constantly now run out of space on my 50GB root partition even when running -Sc after every update and reboot to make sure everything works…

It really is crazy that there is no option to put all the programs on another partition than root unless you make a separate partition for /usr that will somehow foresee what you will install in the future.

My /usr with all of my programs installed is 29GB and /var takes up 10 GB. That leaves just 10GB for everything else.

I have just followed the partitioning advice since my first 2016 install, but in the past few years, everything has just ballooned in size it seems and is now always a problem every few years no matter how big you make your root partition.

Is there a better solution for this? Can we place /usr files managed through managers in /home? I think that is against the pacman/yay way of working.

7 points

I know this is really not a good reliability/security decision that I’ve made but I only separate out the boot partition and I have one big root partition. It’s not gotten me into trouble yet because the ext4, xfs, and zfs filesystems are very mature and reliable. My production systems are just my own homelab stuff with nothing critical. The reason I do this is because I’ve never been good about guesstimating what my partition size needs are and inevitably I cause problems for myself later on down the line by underestimating. I thought that LVM was supposed to help make resizing partitions easy but I don’t know enough about LVM since I’ve never really used it.

permalink
report
reply
4 points

Same. I use the vanilla partitioning scheme. I put all of my effort on backup and reproducibility of my system. I completely wipe out my system at least every month.

permalink
report
parent
reply
1 point

Do you use a different distro or basically put the same one back on?

permalink
report
parent
reply
2 points

Hi - I mainly use Arch but also Debian here and there. I’m a sysadmin so its part of my job.

permalink
report
parent
reply
2 points

On newer machines I stopped even splitting out /boot. Now it’s just one big partition and a swap file.

And regular backups. 😅

permalink
report
parent
reply
1 point

10 gb for var is huge. What if you run ‘journalctl --vacuum-time=1d’? If that deletes a lot, you should set up log rotation to delete your logs.

permalink
report
reply
3 points

Since the OP doesn’t mention this, it’s not very likely, but — /var can get pretty large nowadays with flatpaks gaining popularity; also databases & qemu images live inside /var, not to mention the default webroot for apache.

permalink
report
parent
reply
2 points

Man you need to check your settings for logging and others. I have a separate /home and /boot my root is about 40g I think but I only retain the last version after upgrade, my Journalctl only holds last 3 boot and it has a total size limit of 1g.

permalink
report
reply
1 point

my /usr is 10G and /var is 5G, I would say check whats is consuming space on /usr and /var to make sure there isn’t a problem, with that said I don’t have separate partitions for for this exact reason, I only separate root from boot because I’m running full disk encryption.

permalink
report
reply
1 point
*

Usr is literally just programs. STM programmers, kicad, IDEs, freecad, drawing programs, etc…

/usr is very explainable in most cases. Simply more programs installed

permalink
report
parent
reply
2 points

Your wording is hard to understand. Are you asking if you can make /usr its own partition? If that’s your question, you can. You need to make sure that “usr” and “fsck” are in HOOKS in /etc/mkinitcpio.conf.

I can see how /usr can balloon in size. My /usr is 22G with 1613 packages installed.

permalink
report
reply

Arch Linux

!archlinux@lemmy.ml

Create post

The beloved lightweight distro

Community stats

  • 134

    Monthly active users

  • 319

    Posts

  • 2.2K

    Comments

Community moderators