NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Nightmare mode: simulating disk failures (antithesis.com)
InsidiousWombat 1 days ago [-]
Interesting that they didn't go with device mapper, there are already few modules aimed at simulating bad hardware, and also far faster
dropdropteam 1 days ago [-]
[dead]
TacticalCoder 1 days 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 1 days 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

KennyBlanken 24 hours ago [-]
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.

nullc 1 days 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.
nh2 1 days ago [-]
Linux has stable releases on with vulnerability fixes get backported.
KennyBlanken 24 hours ago [-]
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.

nullc 13 hours ago [-]
> 1)7.3 is about a month old.

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.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 06:48:25 GMT+0000 (Coordinated Universal Time) with Vercel.