28
submitted 1 month ago by [email protected] to c/[email protected]

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

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 1 month ago* (last edited 1 month 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.

[-] [email protected] 1 points 1 month 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).

[-] [email protected] 1 points 1 month ago* (last edited 1 month 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...

[-] [email protected] -4 points 1 month ago

No, you're just asking for free help and being a dick about it. Nothing is stopping you from learning and reading up this.

this post was submitted on 27 Apr 2024
28 points (96.7% liked)

Linux

44864 readers
2594 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS