Hi, I’m just starting exploring btrfs volume concepts; currently my testing setup has three subvolumes: root, var, home; is it possible have user home folder (I mean /home/user, not all /home) in a different partition? Thanks for suggestions

  • Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 months ago

    openSUSE used to have the /home folder (so, not a specific user subfolder) on a different partition as the default setup some years ago, with 40 GB for the root partition.

    They changed it, because it meant people’s root partitions would sometimes fill up from the snapshots being stored there and that’s really annoying to recover from.
    Not only can a full root partition irreparably damage your Linux system, it also meant that people would try to uninstall packages to free up space, which wouldn’t actually free up space, because those packages were still contained in differential snapshots.

    To actually free up space, you have to either delete old snapshots (so that there’s less difference to your current install) or delete intermediate snapshots where you happened to install a load of packages, which you uninstalled afterwards.

    • gcala@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      6 months ago

      I’m not asking this for limited space. My long term purpose is having just my home with granted space and luks encryption (and obviously decryption on login).

      • Ephera@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        6 months ago

        Hmm, as in you only want your home-partition to be encrypted, nothing else? Because you can do filesystem encryption for the entire btrfs (including both root and home) and that works perfectly fine.

        Not sure, if it uses LUKS for that, but there’s an option in the installer for encryption…