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.

  • Meow.tar.gz@lemmy.goblackcat.com
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    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.

    • Ecology8622@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      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.

        • Ecology8622@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

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

            • Ecology8622@lemmy.ml
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Yeah we are moving away from CentOS and into vanilla Debian for our servers and kvm hosts. We haven’t tried Proxmox yet, just didn’t have the need since we are a smallish shop and have in-house tools to help with vm management. It is very interesting tho and will probably try it in the future.

    • Beej Jorgensen@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

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

      And regular backups. 😅

  • Cableferret@lemmy.tf
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    I only separate out /home, /boot, and I usually have a separate /steam partition because I have a separate terabyte drive just for games.

  • I_Am_Jacks_____@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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.

  • t0m5k1@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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.

  • fox@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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.

    • JustEnoughDucks@feddit.nlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

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

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

  • trachemys@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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.

    • wvstolzing@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      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.

  • Evil_incarnate@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    If it helps, I’ve got btrfs on my 128GB drive with /home and root as subvolumes.

    When the volume started to fill, I moved /home to a new drive, should be right for a while now.

  • nous@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    You need a root partition, that is about the only requirement. But the rest I don’t really see a point in anymore. Well except for boot, but that one’s small and easy to predict it’s size.

    Can we place /usr files managed through managers in /home?

    Why even have separate partitions if you are just going to munge them on each other?

    What does having a separate home partition actually but you? And is it worth the cost of running out of disk space on one partition and needing to accruately predict how much you are going to need on each one?