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.
70 points by zdw 137 days ago oshogbo.com 16 comments
Summary not yet generated for this article.

Comments (16 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open