Get the latest tech news

Corrupting a ZFS File on Purpose


Most of the time, the whole point of ZFS is that your data does not get corrupted. But during development you sometimes need the opposite: a controlled, reproducible corruption, so you can watch self-healing kick in, see what a scrub reports, or just understand how a file maps onto the physical disk. There is no better exercise than breaking one byte on purpose and seeing ZFS notice.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of purpose

purpose

Photo of zfs file

zfs file

Related news:

News photo

I've watched lithium-ion batteries catch fire: Here's what to do if it happens to you

News photo

What is the purpose of the lost+found folder in Linux and Unix? (2014)

News photo

I made my phone slow on purpose