• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: July 7th, 2023

help-circle
  • exi@feddit.detoLinux@lemmy.mlWhy I dislike snaps
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    10 months ago

    Pretty much every alerting system I know also has a filter option to only apply automated discovery rules to certain filesystem types.

    But yes, most don’t first squashfs or mounted read-only snapshots by default and it sucks.






  • exi@feddit.detoLinux@lemmy.mlWhat Filesystem?
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    Not really. You can still use dm-verity for a normal raid and get checksumming and normal performance, which is better and faster than using btrfs.

    But in any case, I’d recommend just going with zfs because it has all the features and is plenty fast.


  • exi@feddit.detoLinux@lemmy.mlWhat Filesystem?
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    From arch wiki:

    Disabling CoW in Btrfs also disables checksums. Btrfs will not be able to detect corrupted nodatacow files. When combined with RAID 1, power outages or other sources of corruption can cause the data to become out of sync.

    No thanks


  • exi@feddit.detoLinux@lemmy.mlWhat Filesystem?
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    If you are planning to have any kind of database with regular random writes, stay away from btrfs. It’s roughly 4-5x slower than zfs and will slowly fragment itself to death.

    I’m migrating a server from btrfs to zfs right now for this very reason. I have multiple large MySQL and SQLite tables on it and they have accumulated >100k file fragments each and have become abysmally slow. There are lots of benchmarks out there that show that zfs does not have this issue and even when both filesystems are clean, database performance is significantly higher on zfs.

    If you don’t want a COW filesystem, then XFS on LVM raid for databases or ext4 on LVM for everything else is probably fine.