Anyone planning on ZFS or BTRFS for file systems?
#15
(06-16-2020, 04:11 PM)Arwen Wrote: @DrYak Thank you. When I tried BTRFS over the weekend, I missed the InitRD part. (When I used BTRFS years ago, I built it into the kernel, no need for an InitRD.)

Yup, the various make inird tools' magic autodetection of file systems is of no use... if there exists no BTRFS to be autodetected yet.
(We all make stupid mistakes: on my side I banged my head a bit, having completely forgotten to update the extlinux.conf)

(on the other hand switching the /boot partition from FAT32 to Ext4 (which is also compiled in by default in the current uboot) was a breeze)

I would have documented it earlier but... well... real-life and day job got in the way :-P

(06-16-2020, 04:11 PM)Arwen Wrote: So, adding that part to my prior instructions, works. Now I have the ability to perform upgrades in the same partition space. I use this on my kernel command line;
Code:
rootfstype=btrfs root=/dev/mmcblk2p8 rootflags=subvol=root/20200616
When I update, I will clone "root/20200616" and create a new sub-volume. Boot off it, and then perform the updates. After I have 4 or so OS sub-volumes, I'll delete the oldest. This gives me some backout plans, and some backups of OS files.

You might be interested in playing with snapper, it is designed exactly for that and can partially automate your workflow.

I also have my own scrub/rebalance/trim script if you're interested.


Messages In This Thread
RE: Anyone planning on ZFS or BTRFS for file systems? - by DrYak - 06-16-2020, 05:36 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)