# Antithesis, 전원 차단부터 fsync 오류까지 디스크 고장을 시뮬레이션하다

Original title: Nightmare mode: simulating disk failures

> Hacker News story 50657937 · language: ko · submitted 2026-11-26
> Web version: https://zeli.app/ko/story/50657937
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 47 · by [dverlaeckt80](<https://news.ycombinator.com/user?id=dverlaeckt80>) · 💬 7
[original](<https://antithesis.com/blog/2026/nightmare-mode/>) · [HN discussion](<https://news.ycombinator.com/item?id=50657937>)

## Summary

Antithesis가 분산 시스템의 저장 신뢰성을 검증하기 위해 FUSE 기반 파일시스템 Amnesia를 개발했다. LazyFS에서 출발해 Rust로 재구현한 Amnesia는 전원 손실, torn write, 디스크 I/O 오류, 지연 같은 고장을 정밀하게 재현한다. 특히 fsync가 EIO를 반환할 때 커널 페이지 캐시가 어떻게 오염되는지까지 모델링해 fsyncgate 같은 미묘한 데이터 손실 버그를 잡아낸다.

## Key quote

> fsync()가 성공을 반환하면 '마지막 fsync 이후의 모든 쓰기가 디스크에 도달했다'는 뜻이지만, 우리는 그것이 '마지막 성공한 fsync 이후의 모든 쓰기가 디스크에 도달했다'는 뜻이라고 가정한다.

## HN discussion (7 comments)

### [InsidiousWombat](<https://news.ycombinator.com/item?id=50684357>)

> 흥미롭네요, device mapper를 쓰지 않았다는 게. 이미 불량 하드웨어를 시뮬레이션하는 모듈이 몇 개 있고, 훨씬 빠르기도 한데 말이죠.

### [TacticalCoder](<https://news.ycombinator.com/item?id=50683733>)

> \> 일부는 ext4 파일시스템에서, 일부는 XFS나 ZFS에서 실행되고 있어서 각각 실패 시 동작이 달라 더 복잡했습니다.
>
> ZFS는 기사에서 그 문장에만 언급되지만: 공정하게 말하자면, 적절한 ZFS 탱크가 기본적으로 존재한다는 점을 지적해야 합니다. 그래서 시스템은 다른 파일시스템(예를 들어 ext4)이라면 그냥 고통스럽게 죽어버릴 수많은 다양한 실패 상황에서도 정확하게 동작을 유지하죠.
>
> 비판은 아닙니다: "카오스 몽키"처럼 실패를 시뮬레이션하는 것은 무엇이든—네트워크 케이블을 뽑거나 서버를 무작위로 끄거나 디스크 고장을 시뮬레이션하는 등—제 기준에서는 승리입니다.

---

## Cite

- Page: https://zeli.app/ko/story/50657937
- Date: 2026-11-26
- Source: antithesis.com (https://antithesis.com/blog/2026/nightmare-mode/)
- Hacker News: https://news.ycombinator.com/item?id=50657937

## Other languages

- en: https://zeli.app/story/50657937 · markdown: https://zeli.app/story/50657937.md
- zh: https://zeli.app/zh/story/50657937 · markdown: https://zeli.app/zh/story/50657937.md
- ja: https://zeli.app/ja/story/50657937 · markdown: https://zeli.app/ja/story/50657937.md
- de: https://zeli.app/de/story/50657937 · markdown: https://zeli.app/de/story/50657937.md
- es: https://zeli.app/es/story/50657937 · markdown: https://zeli.app/es/story/50657937.md
- ru: https://zeli.app/ru/story/50657937 · markdown: https://zeli.app/ru/story/50657937.md
