Anyone planning on ZFS or BTRFS for file systems?
#17
(06-17-2020, 08:11 AM)Arwen Wrote: Now I have to decide, (though it will probably take me weeks), whether to use the whole eMMC, (except for "/boot" and swap), as BTRFS. Then control the sub-volumes for things like "/home", (which I would use my snapshot script).

That's literally been my modus operandi on my pinebook pro and several other devices (e.g.: my workstation at work, etc.), and also been the default suggestion in openSUSE (and also on CentOS back when they still used BTRFS for snapshots, before abandoning it and moving to stratis).
Basically keep your root in one subvolume (the default one) and have everything else that you don't want to version (like home, opt, usr/local, srv, tmp, various entries in var, etc.) in a different subvolume that you won't snapshot.

A long time ago, I used to have a separate /home because:
  • out of habit
  • space management (overfilling /home won't prevent the system to run with an over filled /)
    (that was an important point before ENOSP got fixed).
  • when BTRFS was young, out of fear of losing my /home if / got corrupted
    (Turns out: never got any major problem with BTRFS that couldn't be recovered by CoW -- or in the case of dead SD card, by btrfs restrore)

Nowadays, the only still valid reasons to use multiple partition is that currently you can't specify per-subvolume RAID levels (yet. it's on the devs todo list).
So if you want your root's data chunks at RAID0 for speed and your home's data chunks at RAID1 for resilience, multiple partitions is the only way to go.
(I do that on my working laptop and my homeworkstation).

But that requires multiple devices (or in case of "dup" a spinning rust HDD).

As you only have a single eMMC in your PBP, the whole point is moot.
(well, unless you manage to fit dual NVMe and a PXL chip within the form factor and the power envelope of the pbp ...)


(06-17-2020, 08:11 AM)Arwen Wrote: And snapper is not designed for alternate boot environments.

On the other hand, there were some people on this forum toying with the idea of booting grub, and snapper does support grub. (It's been also be toyed by o-droid users, and even Suse made conferences about it)

(06-17-2020, 08:11 AM)Arwen Wrote: @DrYak, thanks for the pointer to snapper, but it will be easy enough to modify my old ZFS snap shot utility.

Yup, we all like our home-made tools, hand carved with love. And with Bash/Perl/whatever.


Messages In This Thread
RE: Anyone planning on ZFS or BTRFS for file systems? - by DrYak - 06-17-2020, 02:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  extlinux.conf file error, can it be edited in bootloader? Abandoned Brain 2 2,564 09-26-2021, 01:28 PM
Last Post: Abandoned Brain
  PostmarketOS - Why swap file not on at boot? stozi 3 3,968 06-24-2021, 12:27 AM
Last Post: craftyguy
  Good i3 Config file to use? User 22018 6 5,949 06-17-2021, 09:38 AM
Last Post: user526
  Restoring img file to eMMC GloriousCoffee 5 5,756 08-08-2020, 10:49 AM
Last Post: GloriousCoffee
  Manjaro Arm users - What does your trackpad/keyboard conf file look like? Eggmonkey 7 7,902 04-21-2020, 08:27 AM
Last Post: Surehand53
  Which keyboard config file with Ubuntu Mate Linux-Rob 1 2,310 11-19-2019, 01:57 PM
Last Post: agD0i7rY

Forum Jump:


Users browsing this thread: 2 Guest(s)