Unofficial Hacker News companion — get notified on comment replies, and more.

Nightmare mode: simulating disk failures (opens external site)

52 points by dverlaeckt80 5 days ago | antithesis.com | 8 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. 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

    Replies (1)
    1. RAID is not error correcting, never has been, and never was intended to be. It and cannot self-heal reliably except from cases where a drive becomes out of sync with its pair, and in such cases has no idea if the data it does have access to is correct or not.

      EXT4 does not offer self-healing, copy-on-write, native snapshots and rollback, writeable clones, incremental replication, storage pooling and reservation, native compression, native encryption, native de-duplication, memory and secondary storage device caching, nor dedicated devices for write intent logging, metadata, and small block storage.

      Some of that is possible by layering ext4 on top of LVM, but it's not nearly as integrated, flexible, performant, or stable as ZFS is.