Nightmare mode: simulating disk failures

(antithesis.com)

29 points | by dverlaeckt80 2 days ago ago

4 comments

  • InsidiousWombat 22 minutes ago

    Interesting that they didn't go with device mapper, there are already few modules aimed at simulating bad hardware, and also far faster

  • TacticalCoder 2 hours ago

    > This was further complicated by some running on the ext4 filesystem, and some on XFS or ZFS, each with its own behaviors under failure.

    ZFS is only mentioned in that sentence in the article but: to be fair it has to be pointed out that a proper ZFS tank exists, basically, so that the system precisely keeps behaving under a great many different failures that would make other filesystems just die a painful death (like, for example, ext4).

    Not a criticism: anything that simulates failure like a "chaos monkey": be it by pulling network cables or by turning servers off at random or by simulating disk failures is a win in my book.

    • InsidiousWombat 15 minutes ago

      zfs will die under single disk failure just the same as any other system; it's pointless to compare multi disk zfs setup to xfs/ext4 on single one.

      And RAID + classic FS is pretty fucking reliable. You are missing the data checksums ZFS provides (biggest feature worth using FS for IMO), but to actually lose data in RAID1 scenario you'd have to have

      * one disk fail to return block of data

      * other disk in same exact block to return exact error that would beat block checksum

      * OR have disk interface checksum do similar problem

      So you'd have to hit 2 corruptions and ~ 1 in 4 million chance of CRC not catching that

      certainly possible if you are operating in petabytes and GB/s but, uh, just have your backups

    • nullc 25 minutes ago

      ZFS on Linux is increasingly looking like a non-viable filesystem --- it's still incompatible with kernel 7.3 leaving users stranded on old kernels vulnerable to serious remote vulnerabilities.