Anyone planning on ZFS or BTRFS for file systems?
#11
(08-07-2019, 04:32 AM)DrYak Wrote:
(07-31-2019, 10:26 AM)lot378 Wrote: These file systems are meant for scenarios where there is redundancy in the form of multiple drives.

Trying to apply ZFS or Btrfs to eMMC alone may be worse than not using either system - it could be all working fine one moment but corruption in the wrong place means total loss of everything and no way to fix it at all - in similar situations, other file systems could recover.

I can't speak about ZFS, but BTRFS is not only meant for redundancy. RAID1 and DUP are among the possibilities. But it's also about providing subvolumes, snapshots, CoW, compression, checksum on everything, etc.
All these valid features even on small devices (Jolla even used it for that exact puprose on their first smartphone).

Thankfully, due to the way BTRFS has data laid out there is no such thing as a single wrong place that loses everything. I've been through some flash media corruption (including hiqh quality SD from reputable brand names - but you now, bad luck happens), and each time I've still been able to recover nearly everything (btrfs restore is your friend).
Yes, ZFS has RAID-1, (aka Mirroring), DUP, (aka "copies=2"), subvolumes, (aka datasets), snapshots, CoW, compression, (can select different methods, by dataset), checksums on everything, (can select different algorythms, by dataset).

One thing that ZFS does, is have attributes stored with the subvolume, (aka dataset). That means you don't have to remember you choose LZ4 compression. It's always there, until you change it, ("zfs set compression=off rpool/home" for example).


There are ways that BTRFS can loose data. It's not a totally COW;

https://btrfs.wiki.kernel.org/index.php/..._rename.3F

For home use, I'd not worry about it. But, for data center use, (in reference to BTRFS in general, not BTRFS on Pinebook Pro), I'd consider this un-acceptable.
--
Arwen Evenstar
Princess of Rivendale


Messages In This Thread
RE: Anyone planning on ZFS or BTRFS for file systems? - by Arwen - 08-07-2019, 06:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  extlinux.conf file error, can it be edited in bootloader? Abandoned Brain 2 2,602 09-26-2021, 01:28 PM
Last Post: Abandoned Brain
  PostmarketOS - Why swap file not on at boot? stozi 3 4,033 06-24-2021, 12:27 AM
Last Post: craftyguy
  Good i3 Config file to use? User 22018 6 6,043 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,346 11-19-2019, 01:57 PM
Last Post: agD0i7rY

Forum Jump:


Users browsing this thread: 2 Guest(s)