Nightmare mode: simulating disk failures (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
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.
Replies (2)
Replies (2)
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.
Replies (1)
Thanks for implicitly acknowledging that ZFS is over a month behind the leading edge of kernel releases. 7.3 went release candidate in August so there has been plenty of time to prepare for it.
In any case, a month is outrageous today in the pace of security changes today.
I'm aware of no commitment from the kernel maintainers to backport all fixes-- doing so would violate their existing practice of not distinguishing security relevant changes from other changes. No person may even know the true extent of which changes were security relevant.
But in any case: Major distributions have moved to 7.3 instead of making backports. (e.g. Fedora 43/44, and Qubes to give some examples)
Many users are on seriously outdated kernels for sure ( https://observatorioblockchain.com/en/cybersecurity/ubuntu-k... ) and in the current environment that leaves them potentially exposed. It's not helpful to the extent that ZFS is contributing to that situation.
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)
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.