# ホームサーバーが死んだ。復活までの全記録

Original title: The death and rebirth of my home server

> Hacker News story 48966769 · language: ja · submitted 2026-07-19
> Web version: https://zeli.app/ja/story/48966769
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 143 · by [steinuil](<https://news.ycombinator.com/user?id=steinuil>) · 💬 111
[original](<https://sgt.hootr.club/blog/home-server-rebirth/>) · [HN discussion](<https://news.ycombinator.com/item?id=48966769>)

## Summary

Raspberry Pi 4Bで数年動かし続けたホームサーバーが、停電をきっかけにmicroSDカードの故障で突然起動不能に。NixOSで管理していたおかげで設定は失わず、データもほぼ無事だった。著者は再構築にあたり、microSDへの書き込みを最小化するためzramやtmpfsを採用し、古いHDDをbtrfs RAID1でまとめて冗長化。サービスごとにサブボリュームを自動マウントする自作モジュールや、resticによるバックアップ、グループ権限の整理など、堅牢な構成をNixで宣言的に実現する。

## Key quote

> microSDはルートファイルシステムとしてマウントされていて、書き込みを減らすための対策はほとんどしていませんでした。

---

## Cite

- Page: https://zeli.app/ja/story/48966769
- Date: 2026-07-19
- Source: sgt.hootr.club (https://sgt.hootr.club/blog/home-server-rebirth/)
- Hacker News: https://news.ycombinator.com/item?id=48966769

## Other languages

- en: https://zeli.app/story/48966769 · markdown: https://zeli.app/story/48966769.md
- zh: https://zeli.app/zh/story/48966769 · markdown: https://zeli.app/zh/story/48966769.md
- ko: https://zeli.app/ko/story/48966769 · markdown: https://zeli.app/ko/story/48966769.md
- de: https://zeli.app/de/story/48966769 · markdown: https://zeli.app/de/story/48966769.md
- es: https://zeli.app/es/story/48966769 · markdown: https://zeli.app/es/story/48966769.md
