Nightmare mode: simulating disk failures

https://antithesis.com/blog/2026/nightmare-mode/

Comments

InsidiousWombatNov 29, 2026, 2:18 AM
Interesting that they didn't go with device mapper, there are already few modules aimed at simulating bad hardware, and also far faster
TacticalCoderNov 29, 2026, 12:33 AM
> 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.

InsidiousWombatNov 29, 2026, 2:25 AM
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

KennyBlankenNov 29, 2026, 7:01 AM
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.

nullcNov 29, 2026, 2:15 AM
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.
nh2Nov 29, 2026, 3:32 AM
Linux has stable releases on with vulnerability fixes get backported.
KennyBlankenNov 29, 2026, 7:14 AM
Dear Greg Maxwell:

1)7.3 is about a month old. Calm down.

2)Older kernel series still see mainline patches and distributions backport themselves as well.

3)Many ZFS users will be running LTS kernels.

It's impressive how literally everything that came out of your mouth is wrong.

dropdropteamNov 29, 2026, 1:14 AM
[dead]